Module de.learnlib.algorithm.lstar
Package de.learnlib.algorithm.lstar.mmlt
Class ExtensibleLStarMMLTBuilder<I,O>
java.lang.Object
de.learnlib.algorithm.lstar.mmlt.ExtensibleLStarMMLTBuilder<I,O>
- Type Parameters:
I- input symbol type (of non-delaying inputs)O- output symbol type
A builder for constructing
ExtensibleLStarMMLT instances.-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new builder (and may set default values for some parameters). -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a newExtensibleLStarMMLTinstance with the configured parameters.Returns the current value for the parameteralphabet.Returns the current value for the parameteranalyzer.ClosingStrategy<? super TimedInput<I>,? super Word<TimedOutput<O>>> Returns the current value for the parameterclosingStrategy.List<Word<TimedInput<I>>>Returns the current value for the parameterinitialSuffixes.Returns the current value for the parametermodelParams.Returns the current value for the parametersymbolFilter.Returns the current value for the parametertimeOracle.voidsetAlphabet(Alphabet<I> alphabet) Sets the new value for the parameteralphabet.voidsetAnalyzer(AcexAnalyzer analyzer) Sets the new value for the parameteranalyzer.voidsetClosingStrategy(ClosingStrategy<? super TimedInput<I>, ? super Word<TimedOutput<O>>> closingStrategy) Sets the new value for the parameterclosingStrategy.voidsetInitialSuffixes(List<Word<TimedInput<I>>> initialSuffixes) Sets the new value for the parameterinitialSuffixes.voidsetModelParams(MMLTModelParams<O> modelParams) Sets the new value for the parametermodelParams.voidsetSymbolFilter(RefutableSymbolFilter<TimedInput<I>, InputSymbol<I>> symbolFilter) Sets the new value for the parametersymbolFilter.voidsetTimeOracle(TimedQueryOracle<I, O> timeOracle) Sets the new value for the parametertimeOracle.withAlphabet(Alphabet<I> alphabet) Sets the new value for the parameteralphabetand returnsthisbuilder instance.withAnalyzer(AcexAnalyzer analyzer) Sets the new value for the parameteranalyzerand returnsthisbuilder instance.withClosingStrategy(ClosingStrategy<? super TimedInput<I>, ? super Word<TimedOutput<O>>> closingStrategy) Sets the new value for the parameterclosingStrategyand returnsthisbuilder instance.withInitialSuffixes(List<Word<TimedInput<I>>> initialSuffixes) Sets the new value for the parameterinitialSuffixesand returnsthisbuilder instance.withModelParams(MMLTModelParams<O> modelParams) Sets the new value for the parametermodelParamsand returnsthisbuilder instance.withSymbolFilter(RefutableSymbolFilter<TimedInput<I>, InputSymbol<I>> symbolFilter) Sets the new value for the parametersymbolFilterand returnsthisbuilder instance.withTimeOracle(TimedQueryOracle<I, O> timeOracle) Sets the new value for the parametertimeOracleand returnsthisbuilder instance.
-
Constructor Details
-
ExtensibleLStarMMLTBuilder
public ExtensibleLStarMMLTBuilder()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
-
getModelParams
Returns the current value for the parametermodelParams.- Returns:
- the current value for the parameter
modelParams
-
setModelParams
Sets the new value for the parametermodelParams.- Parameters:
modelParams- the new value for the parametermodelParams
-
withModelParams
Sets the new value for the parametermodelParamsand returnsthisbuilder instance.- Parameters:
modelParams- the new value for the parametermodelParams- Returns:
- the current builder instance
-
getTimeOracle
Returns the current value for the parametertimeOracle.- Returns:
- the current value for the parameter
timeOracle
-
setTimeOracle
Sets the new value for the parametertimeOracle.- Parameters:
timeOracle- the new value for the parametertimeOracle
-
withTimeOracle
Sets the new value for the parametertimeOracleand returnsthisbuilder instance.- Parameters:
timeOracle- the new value for the parametertimeOracle- Returns:
- the current builder instance
-
getInitialSuffixes
Returns the current value for the parameterinitialSuffixes.- Returns:
- the current value for the parameter
initialSuffixes
-
setInitialSuffixes
Sets the new value for the parameterinitialSuffixes.- Parameters:
initialSuffixes- the new value for the parameterinitialSuffixes
-
withInitialSuffixes
public ExtensibleLStarMMLTBuilder<I,O> withInitialSuffixes(List<Word<TimedInput<I>>> initialSuffixes) Sets the new value for the parameterinitialSuffixesand returnsthisbuilder instance.- Parameters:
initialSuffixes- the new value for the parameterinitialSuffixes- Returns:
- the current builder instance
-
getClosingStrategy
Returns the current value for the parameterclosingStrategy.- Returns:
- the current value for the parameter
closingStrategy
-
setClosingStrategy
public void setClosingStrategy(ClosingStrategy<? super TimedInput<I>, ? super Word<TimedOutput<O>>> closingStrategy) Sets the new value for the parameterclosingStrategy.- Parameters:
closingStrategy- the new value for the parameterclosingStrategy
-
withClosingStrategy
public ExtensibleLStarMMLTBuilder<I,O> withClosingStrategy(ClosingStrategy<? super TimedInput<I>, ? super Word<TimedOutput<O>>> closingStrategy) Sets the new value for the parameterclosingStrategyand returnsthisbuilder instance.- Parameters:
closingStrategy- the new value for the parameterclosingStrategy- Returns:
- the current builder instance
-
getSymbolFilter
Returns the current value for the parametersymbolFilter.- Returns:
- the current value for the parameter
symbolFilter
-
setSymbolFilter
Sets the new value for the parametersymbolFilter.- Parameters:
symbolFilter- the new value for the parametersymbolFilter
-
withSymbolFilter
public ExtensibleLStarMMLTBuilder<I,O> withSymbolFilter(RefutableSymbolFilter<TimedInput<I>, InputSymbol<I>> symbolFilter) Sets the new value for the parametersymbolFilterand returnsthisbuilder instance.- Parameters:
symbolFilter- the new value for the parametersymbolFilter- Returns:
- the current builder instance
-
getAnalyzer
Returns the current value for the parameteranalyzer.- Returns:
- the current value for the parameter
analyzer
-
setAnalyzer
Sets the new value for the parameteranalyzer.- Parameters:
analyzer- the new value for the parameteranalyzer
-
withAnalyzer
Sets the new value for the parameteranalyzerand returnsthisbuilder instance.- Parameters:
analyzer- the new value for the parameteranalyzer- Returns:
- the current builder instance
-
create
Creates a newExtensibleLStarMMLTinstance with the configured parameters.- Returns:
- the created instance
-