Module de.learnlib.algorithm.nlstar
Package de.learnlib.algorithm.nlstar
Class NLStarLearnerBuilder<I>
java.lang.Object
de.learnlib.algorithm.nlstar.NLStarLearnerBuilder<I>
- Type Parameters:
I- input symbol type
A builder for constructing
NLStarLearner instances.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new builder (and may set default values for some parameters). -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a newNLStarLearnerinstance with the configured parameters.Returns the current value for the parameteralphabet.Returns the current value for the parameteroracle.voidsetAlphabet(Alphabet<I> alphabet) Sets the new value for the parameteralphabet.voidsetOracle(MembershipOracle<I, Boolean> oracle) Sets the new value for the parameteroracle.withAlphabet(Alphabet<I> alphabet) Sets the new value for the parameteralphabetand returnsthisbuilder instance.withOracle(MembershipOracle<I, Boolean> oracle) Sets the new value for the parameteroracleand returnsthisbuilder instance.
-
Constructor Details
-
NLStarLearnerBuilder
public NLStarLearnerBuilder()Creates a new builder (and may set default values for some parameters).
-
-
Method Details
-
getAlphabet
Returns the current value for the parameteralphabet.- Returns:
- the current value for the parameter
alphabet
-
setAlphabet
Sets the new value for the parameteralphabet.- Parameters:
alphabet- the new value for the parameteralphabet
-
withAlphabet
Sets the new value for the parameteralphabetand returnsthisbuilder instance.- Parameters:
alphabet- the new value for the parameteralphabet- Returns:
- the current builder instance
-
getOracle
Returns the current value for the parameteroracle.- Returns:
- the current value for the parameter
oracle
-
setOracle
Sets the new value for the parameteroracle.- Parameters:
oracle- the new value for the parameteroracle
-
withOracle
Sets the new value for the parameteroracleand returnsthisbuilder instance.- Parameters:
oracle- the new value for the parameteroracle- Returns:
- the current builder instance
-
create
Creates a newNLStarLearnerinstance with the configured parameters.- Returns:
- the created instance
-