Class GrammarConfig
java.lang.Object
com.knezevic.edaf.v3.repr.grammar.build.GrammarConfig
Canonical grammar configuration used by both auto and custom modes.
-
Method Details
-
fromParams
Parses canonical grammar config from section params.Accepts either direct keys or nested map under
grammar. -
mode
-
file
-
variables
-
binaryOps
-
unaryOps
-
ternaryOps
-
allowConstants
public boolean allowConstants() -
constants
-
ephemeralConstants
public boolean ephemeralConstants() -
ephemeralDistribution
-
ephemeralMin
public double ephemeralMin() -
ephemeralMax
public double ephemeralMax() -
maxDepth
public int maxDepth() -
typed
public boolean typed() -
booleanMode
public boolean booleanMode() -
bitsPerDecision
public int bitsPerDecision() -
bitsPerErc
public int bitsPerErc() -
maxNodes
public int maxNodes()
-