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
 
 public final class NLStarLearnerBuilder<I> extends Object A builder for constructingNLStarLearnerinstances.
- 
- 
Constructor SummaryConstructors Constructor Description NLStarLearnerBuilder()Creates a new builder (and may set default values for some parameters).
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NLStarLearner<I>create()Creates a newNLStarLearnerinstance with the configured parameters.net.automatalib.alphabet.Alphabet<I>getAlphabet()Returns the current value for the parameteralphabet.MembershipOracle<I,Boolean>getOracle()Returns the current value for the parameteroracle.voidsetAlphabet(net.automatalib.alphabet.Alphabet<I> alphabet)Sets the new value for the parameteralphabet.voidsetOracle(MembershipOracle<I,Boolean> oracle)Sets the new value for the parameteroracle.NLStarLearnerBuilder<I>withAlphabet(net.automatalib.alphabet.Alphabet<I> alphabet)Sets the new value for the parameteralphabetand returnsthisbuilder instance.NLStarLearnerBuilder<I>withOracle(MembershipOracle<I,Boolean> oracle)Sets the new value for the parameteroracleand returnsthisbuilder instance.
 
- 
- 
- 
Method Detail- 
getAlphabetpublic net.automatalib.alphabet.Alphabet<I> getAlphabet() Returns the current value for the parameteralphabet.- Returns:
- the current value for the parameter alphabet
 
 - 
setAlphabetpublic void setAlphabet(net.automatalib.alphabet.Alphabet<I> alphabet) Sets the new value for the parameteralphabet.- Parameters:
- alphabet- the new value for the parameter- alphabet
 
 - 
withAlphabetpublic NLStarLearnerBuilder<I> withAlphabet(net.automatalib.alphabet.Alphabet<I> alphabet) Sets the new value for the parameteralphabetand returnsthisbuilder instance.- Parameters:
- alphabet- the new value for the parameter- alphabet
- Returns:
- the current builder instance
 
 - 
getOraclepublic MembershipOracle<I,Boolean> getOracle() Returns the current value for the parameteroracle.- Returns:
- the current value for the parameter oracle
 
 - 
setOraclepublic void setOracle(MembershipOracle<I,Boolean> oracle) Sets the new value for the parameteroracle.- Parameters:
- oracle- the new value for the parameter- oracle
 
 - 
withOraclepublic NLStarLearnerBuilder<I> withOracle(MembershipOracle<I,Boolean> oracle) Sets the new value for the parameteroracleand returnsthisbuilder instance.- Parameters:
- oracle- the new value for the parameter- oracle
- Returns:
- the current builder instance
 
 - 
createpublic NLStarLearner<I> create() Creates a newNLStarLearnerinstance with the configured parameters.- Returns:
- the created instance
 
 
- 
 
-