MCPcopy Create free account

hub / github.com/GMUEClab/ecj / functions

Functions5,261 in github.com/GMUEClab/ecj

↓ 2,018 callersMethodpush
Synonym for add(obj) -- try to use add instead unless you want to think of the IntBag as a stack.
ecj/src/main/java/ec/util/IntBag.java:160
↓ 1,461 callersMethodget
Retrieve the pheromone concentration for component. / @param state The state of the simulation @param c The ID of a component @param thread The index
ecj/src/main/java/ec/co/ant/PheromoneTable.java:26
↓ 837 callersMethodsize
()
ecj/src/main/java/ec/util/Indexed.java:16
↓ 834 callersMethodfatal
Posts a fatal error. This causes the system to exit.
ecj/src/main/java/ec/util/Output.java:542
↓ 608 callersMethodpush
Returns a new parameter with s added to the end of the current path items. If s is empty, nothing is pushed on (and no delimiter is added to
ecj/src/main/java/ec/util/Parameter.java:96
↓ 529 callersMethodset
Set the pheromone concentration for component c. This may have side effects (such as simultaneously updating the concentration for a related componen
ecj/src/main/java/ec/co/ant/PheromoneTable.java:35
↓ 490 callersMethodprintln
Prints a message to a given log, with a certain verbosity. <i>_announcement</i> indicates that the message is an announcement. If t
ecj/src/main/java/ec/util/Output.java:682
↓ 467 callersMethodadd
(final int obj)
ecj/src/main/java/ec/util/IntBag.java:175
↓ 377 callersMethodpush
Pushes an ADFContext onto the main stack. The best way to get an ADFContext to push onto the stack is with get(). Returns obj.
ecj/src/main/java/ec/gp/ADFStack.java:165
↓ 351 callersMethodsetup
Sets up the object by reading it from the parameters stored in <i>state</i>, built off of the parameter base <i>base</i>. If an ance
ecj/src/main/java/ec/Setup.java:40
↓ 302 callersMethodclone
Creates a new individual cloned from a prototype, and suitable to begin use in its own evolutionary context. <p>Typically
ecj/src/main/java/ec/Prototype.java:140
↓ 225 callersMethodgetInt
(Parameter parameter)
ecj/src/main/java/ec/util/ParameterDatabase.java:860
↓ 200 callersMethodnextInt
This method is missing from JDK 1.1 and below. JDK 1.2 includes this for us, but what the heck.
ecj/src/main/java/ec/util/MersenneTwister.java:468
↓ 196 callersMethodmessage
Posts a message.
ecj/src/main/java/ec/util/Output.java:649
↓ 161 callersMethodgetBoolean
Searches down through databases to find a given parameter; If the parameter does not exist, defaultValue is returned. If the parameter exists, and it
ecj/src/main/java/ec/util/ParameterDatabase.java:751
↓ 157 callersMethodexists
Returns true if parameter exist in the database @Deprecated use exists(Parameter, null)
ecj/src/main/java/ec/util/ParameterDatabase.java:2352
↓ 153 callersMethodprint
Prints a non-announcement message to a given log, with a certain verbosity. No '\n' is printed. If the log is null, nothing is prin
ecj/src/main/java/ec/util/Output.java:789
↓ 150 callersMethodgetString
Searches down through databases to find a given parameter. Returns the parameter's value (trimmed) or null if not found or if the trimmed result is em
ecj/src/main/java/ec/util/ParameterDatabase.java:2101
↓ 143 callersMethodgetName
Returns the name of the agent.
contrib/drm/drm/agentbase/IAgent.java:71
↓ 130 callersMethodset
Sets a parameter in the topmost database to a given value, trimmed of whitespace.
ecj/src/main/java/ec/util/ParameterDatabase.java:2196
↓ 108 callersMethodnextBoolean
This method is missing from jdk 1.0.x and below. JDK 1.1 includes this for us, but what the heck.
ecj/src/main/java/ec/util/MersenneTwister.java:435
↓ 108 callersMethodwarning
Posts a warning.
ecj/src/main/java/ec/util/Output.java:593
↓ 91 callersMethodconstraints
( final GPInitializer initializer )
ecj/src/main/java/ec/gp/GPTree.java:193
↓ 91 callersMethoderror
Posts a simple error. This causes the error flag to be raised as well.
ecj/src/main/java/ec/util/Output.java:568
↓ 89 callersMethodequals
Must return true if and only if the object o is an Address and it addresses the same entity. That is if the name fields equal, since names are suppose
contrib/drm/drm/agentbase/Address.java:120
↓ 86 callersMethodencode
Encodes a boolean.
ecj/src/main/java/ec/util/Code.java:53
↓ 86 callersMethodfitness
Should return an absolute fitness value ranging from negative infinity to infinity, NOT inclusive (thus infinity, negative infinity,
ecj/src/main/java/ec/Fitness.java:145
↓ 80 callersMethodsetFitness
Do not use this function. Use the identical setStandardizedFitness() instead. The reason for the name change is that fitness() returns a diffe
ecj/src/main/java/ec/gp/koza/KozaFitness.java:65
↓ 78 callersMethodgetDouble
(Parameter parameter)
ecj/src/main/java/ec/util/ParameterDatabase.java:1231
↓ 76 callersMethodnextDouble
A bug fix for versions of JDK 1.1 and below. JDK 1.2 fixes this for us, but what the heck.
ecj/src/main/java/ec/util/MersenneTwister.java:508
↓ 72 callersMethodsetEnabled
@param panel TODO @param enabled TODO
ecj/src/main/java/ec/display/ControlPanel.java:845
↓ 71 callersMethodevaluate
(EvolutionState state, Individual ind, int subpopulation, int threadnum)
ecj/src/main/java/ec/app/bbob/BBOBenchmarks.java:548
↓ 71 callersMethodgetInstanceForParameter
Searches down through databases to find a given parameter, whose value must be a full Class name, and the class must be a descendent of but not equal
ecj/src/main/java/ec/util/ParameterDatabase.java:480
↓ 71 callersMethodsetup
(final EvolutionState state, final Parameter base)
ecj/src/main/java/ec/app/bbob/BBOBenchmarks.java:199
↓ 70 callersMethodnextToken
Returns the next token as a string. If trim is true, then the string is first trimmed of whitespace.
ecj/src/main/java/ec/util/Lexer.java:46
↓ 70 callersMethodsetGenome
(Object gen)
ecj/src/main/java/ec/vector/DoubleVectorIndividual.java:711
↓ 69 callersMethodequals
Adapted from FloatVectorIndividual.
contrib/cgp/ec/cgp/representation/FloatVectorIndividual.java:148
↓ 66 callersMethoddecode
Decodes the next item out of a DecodeReturn and modifies the DecodeReturn to hold the results. See DecodeReturn for more explanations about h
ecj/src/main/java/ec/util/Code.java:203
↓ 66 callersMethoderror
@param sender An optional string that identifies the sender, e.g. the name of the function that sends the message. @param comment An optional explanat
contrib/drm/drm/agentbase/Logger.java:126
↓ 65 callersMethodgetProperty
Retuns a base property. Properties are mostly set and documented at construction time of implementor classes (see also the constructors of the extendi
contrib/drm/drm/agentbase/IBase.java:46
↓ 64 callersMethodcreateTestIndividual
(final double[] fitnesses, final int geneValue)
ecj/src/test/java/ec/multiobjective/spea2/SPEA2BreederTest.java:438
↓ 63 callersMethodwarnOnce
Posts a warning one time only.
ecj/src/main/java/ec/util/Output.java:616
↓ 60 callersMethod_exists
(Parameter parameter)
ecj/src/main/java/ec/util/ParameterDatabase.java:2359
↓ 57 callersMethodparseInt
(String string)
ecj/src/main/java/ec/util/ParameterDatabase.java:780
↓ 56 callersMethodadd
(final EvolutionState state, final T component)
ecj/src/main/java/ec/co/ConstructiveIndividual.java:78
↓ 56 callersMethodinitialError
Prints an initial error to System.err. This is only to be used by ec.Evolve in starting up the system.
ecj/src/main/java/ec/util/Output.java:473
↓ 52 callersMethodgetComponent
(final int from, final int to)
ecj/src/main/java/ec/app/tsp/TSPProblem.java:42
↓ 51 callersMethodequals
(Object ind)
contrib/gep/ec/gep/GEPChromosome.java:121
↓ 51 callersMethodminGene
(int gene)
ecj/src/main/java/ec/vector/FloatVectorSpecies.java:282
↓ 50 callersMethodexitIfErrors
Exits with a fatal error if the error flag has been raised.
ecj/src/main/java/ec/util/Output.java:865
↓ 50 callersMethodnextInt
()
ecj/src/test/java/ec/test/TestPRNG.java:79
↓ 49 callersMethodgetDependentVariableValues
A function to get the data values (training or testing) for the specified dependent variable. The values for the dependent variable GEPTerminalSymbol
contrib/gep/ec/gep/GEPDependentVariable.java:191
↓ 49 callersMethodmax
Max value represented by this parity problem.
contrib/cgp/ec/cgp/problems/bool/ProblemParity.java:22
↓ 49 callersMethodreadLine
(final String line)
ecj/src/main/java/ec/app/tsp/TSPGraph.java:64
↓ 47 callersMethodgetLog
Returns the given log.
ecj/src/main/java/ec/util/Output.java:428
↓ 47 callersMethodgetStatus
Returns the status. Either WAITING, DONE or ERROR.
contrib/drm/drm/agentbase/IRequest.java:40
↓ 46 callersMethodflush
Flushes the logs
ecj/src/main/java/ec/util/Output.java:156
↓ 46 callersMethodgetStringWithDefault
Searches down through databases to find a given parameter. Returns the parameter's value trimmed of whitespace, or defaultValue.trim() if the result i
ecj/src/main/java/ec/util/ParameterDatabase.java:2130
↓ 46 callersMethodlog
Notfies listeners that log information was emitted. @param type The kind of the logged message. @param sender An optional string that identifies the s
contrib/drm/drm/agentbase/Logger.java:91
↓ 44 callersMethodaddAll
(int[] other)
ecj/src/main/java/ec/util/IntBag.java:65
↓ 44 callersMethoddebug
@param sender An optional string that identifies the sender, e.g. the name of the function that sends the message. @param comment An optional explanat
contrib/drm/drm/agentbase/Logger.java:151
↓ 44 callersMethodgetParam
(Parameter parameter)
ecj/src/main/java/ec/util/ParameterDatabase.java:2467
↓ 42 callersMethodcompareTo
This function replaces the old gt and lt functions that Rule used to require as it implemented the SortComparator interface. If you had imple
ecj/src/main/java/ec/rule/Rule.java:250
↓ 42 callersMethodgetType
Returns type identifier. Apart from being part of a job, every agent has a type. This is useful when having to make a difference between agents within
contrib/drm/drm/agentbase/IAgent.java:84
↓ 42 callersMethodhasNext
()
contrib/drm/drm/util/WriterSet.java:41
↓ 42 callersMethoditerator
()
contrib/drm/drm/util/WriterSet.java:60
↓ 42 callersMethodnext
()
contrib/drm/drm/util/WriterSet.java:43
↓ 42 callersMethodnextInt
()
ecj/src/main/java/ec/util/MersenneTwisterFast.java:376
↓ 41 callersMethodclose
Closes the logs -- ONLY call this if you are preparing to quit
ecj/src/main/java/ec/util/Output.java:141
↓ 40 callersMethodadd
Only writes the argument to the writer, and returns false. Swallows exceptions, only writes a message to the stderr.
contrib/drm/drm/util/WriterSet.java:68
↓ 40 callersMethodmaxGene
(int gene)
ecj/src/main/java/ec/vector/FloatVectorSpecies.java:274
↓ 40 callersMethodrepOK
()
ecj/src/main/java/ec/co/ConstructiveIndividual.java:161
↓ 39 callersMethodgetInstanceForParameterEq
Searches down through databases to find a given parameter, whose value must be a full Class name, and the class must be a descendent, or equal to, <i>
ecj/src/main/java/ec/util/ParameterDatabase.java:585
↓ 37 callersMethodequals
Unlike the standard form for Java, this function should return true if this rule is "genetically identical" to the other rule. The default ca
ecj/src/main/java/ec/rule/Rule.java:106
↓ 35 callersMethodgetIntWithDefault
Searches down through databases to find a given parameter, which must be an integer. If there is an error in parsing the parameter, then default is re
ecj/src/main/java/ec/util/ParameterDatabase.java:951
↓ 35 callersMethodsetThrowsErrors
(boolean val)
ecj/src/main/java/ec/util/Output.java:108
↓ 34 callersMethodlightClone
Like clone() but doesn't copy the tree.
ecj/src/main/java/ec/gp/GPTree.java:217
↓ 34 callersMethodsetFitness
Deprecated -- now redefined to set the fitness but ALWAYS say that it's not ideal. If you need to specify that it's ideal, you should use the n
ecj/src/main/java/ec/simple/SimpleFitness.java:58
↓ 34 callersMethodsort
Sorts the ints into ascending numerical order.
ecj/src/main/java/ec/util/IntBag.java:269
↓ 34 callersMethodtoString
()
contrib/drm/drm/core/Node.java:573
↓ 33 callersMethodadd
Appends the given string to the given expression. @param expression If true, append; otherwise, ignore. @param sb The target expression. @param msg Th
contrib/cgp/ec/cgp/Evaluator.java:184
↓ 33 callersMethodisEmpty
()
ecj/src/main/java/ec/co/ConstructiveIndividual.java:97
↓ 33 callersMethodprintGotten
(Parameter parameter, Parameter defaultParameter, boolean exists)
ecj/src/main/java/ec/util/ParameterDatabase.java:2394
↓ 33 callersMethodremove
()
contrib/drm/drm/util/WriterSet.java:48
↓ 31 callersMethoddistance
()
ecj/src/main/java/ec/app/tsp/TSPGraph.java:210
↓ 30 callersMethodcreateIndForPoint
(final double[] fitnesses)
ecj/src/test/java/ec/multiobjective/HypervolumeStatisticsTest.java:302
↓ 29 callersMethodmaxGene
(int gene)
ecj/src/main/java/ec/vector/IntegerVectorSpecies.java:159
↓ 29 callersMethodwarning
@param sender An optional string that identifies the sender, e.g. the name of the function that sends the message. @param comment An optional explanat
contrib/drm/drm/agentbase/Logger.java:139
↓ 28 callersMethodeval
Evaluate the number E (2.71828...). @param params double array with the required parameter(s) @return (E)
contrib/gep/ec/gep/symbols/E.java:25
↓ 28 callersMethodflush
(EvolutionState state, int threadnum)
ecj/src/main/java/ec/eval/MasterProblem.java:178
↓ 28 callersMethodgetSender
The address of the sender.
contrib/drm/drm/agentbase/Message.java:106
↓ 28 callersMethodisEmpty
()
ecj/src/main/java/ec/util/IntBag.java:60
↓ 28 callersMethodminGene
(int gene)
ecj/src/main/java/ec/vector/IntegerVectorSpecies.java:167
↓ 28 callersMethodtoString
This defaults to simply name() + "[" + encode() + "]". You probably shouldn't deviate from this.
ecj/src/main/java/ec/gp/ERC.java:140
↓ 27 callersMethodadd
(final EvolutionState state, final TSPComponent component)
ecj/src/main/java/ec/app/tsp/TSPIndividual.java:44
↓ 27 callersMethodadd
(double currentProbability, int currentLength)
ecj/src/main/java/ec/gp/breed/SizeFairCrossoverPipeline.java:719
↓ 27 callersMethodreset
Resets the Node Selector before a new series of pickNode() if need be.
ecj/src/main/java/ec/gp/GPNodeSelector.java:50
↓ 26 callersMethodbetterThan
(final Fitness _fitness)
ecj/src/main/java/ec/gp/koza/KozaFitness.java:133
↓ 26 callersMethodgenerateIntervalSpacedSamples
Produce sample points evenly spaced out between min and max in each dimension, with the given spacing interval per-dimension.
ecj/src/main/java/ec/app/regression/Benchmarks.java:223
↓ 26 callersMethodgetDoubleWithDefault
Searches down through databases to find a given parameter, which must be a float. If there is an error in parsing the parameter, then default is retur
ecj/src/main/java/ec/util/ParameterDatabase.java:1394
next →1–100 of 5,261, ranked by callers