Documentation ¶
Index ¶
Constants ¶
View Source
const ( SemanticReduceFunction = "Reduce" CountFunction = "CountTokens" GetStrategyCountFunction = "GetStrategyCount" GetStrategyNameFunction = "GetStrategyName" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Functions ¶
type Functions struct { SemanticReduce SemanticReductionFunction CountTokens TokenCountFunction GetStrategyCount StrategyCountFunction GetStrategyName StrategyNameFunction }
type SemanticReductionFunction ¶
SemanticReductionFunction generates candidate programs based on the content of the current program
type StrategyCountFunction ¶
type StrategyCountFunction func() int
StrategyCountFunction returns the total amount of strategies in the plugin
type StrategyNameFunction ¶
StrategyNameFunction returns the name of a strategy or empty if not found
type TokenCountFunction ¶
TokenCountFunction determines the amount of tokens in a program
Click to show internal directories.
Click to hide internal directories.