Class LTSminLTLAlternatingBuilder<I,O>
- java.lang.Object
-
- net.automatalib.modelchecker.ltsmin.ltl.LTSminLTLAlternatingBuilder<I,O>
-
- Type Parameters:
I- the input typeO- the output type
public final class LTSminLTLAlternatingBuilder<I,O> extends Object
A builder for constructingLTSminLTLAlternatinginstances.
-
-
Constructor Summary
Constructors Constructor Description LTSminLTLAlternatingBuilder()Creates a new builder (and may set default values for some parameters).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LTSminLTLAlternating<I,O>create()Creates a newLTSminLTLAlternatinginstance with the configured parameters.booleangetKeepFiles()Returns the current value for the parameterkeepFiles.intgetMinimumUnfolds()Returns the current value for the parameterminimumUnfolds.doublegetMultiplier()Returns the current value for the parametermultiplier.Collection<? super O>getSkipOutputs()Returns the current value for the parameterskipOutputs.Function<String,I>getString2Input()Returns the current value for the parameterstring2Input.Function<String,O>getString2Output()Returns the current value for the parameterstring2Output.voidsetKeepFiles(boolean keepFiles)Sets the new value for the parameterkeepFiles.voidsetMinimumUnfolds(int minimumUnfolds)Sets the new value for the parameterminimumUnfolds.voidsetMultiplier(double multiplier)Sets the new value for the parametermultiplier.voidsetSkipOutputs(Collection<? super O> skipOutputs)Sets the new value for the parameterskipOutputs.voidsetString2Input(Function<String,I> string2Input)Sets the new value for the parameterstring2Input.voidsetString2Output(Function<String,O> string2Output)Sets the new value for the parameterstring2Output.LTSminLTLAlternatingBuilder<I,O>withKeepFiles(boolean keepFiles)Sets the new value for the parameterkeepFilesand returnsthisbuilder instance.LTSminLTLAlternatingBuilder<I,O>withMinimumUnfolds(int minimumUnfolds)Sets the new value for the parameterminimumUnfoldsand returnsthisbuilder instance.LTSminLTLAlternatingBuilder<I,O>withMultiplier(double multiplier)Sets the new value for the parametermultiplierand returnsthisbuilder instance.LTSminLTLAlternatingBuilder<I,O>withSkipOutputs(Collection<? super O> skipOutputs)Sets the new value for the parameterskipOutputsand returnsthisbuilder instance.LTSminLTLAlternatingBuilder<I,O>withString2Input(Function<String,I> string2Input)Sets the new value for the parameterstring2Inputand returnsthisbuilder instance.LTSminLTLAlternatingBuilder<I,O>withString2Output(Function<String,O> string2Output)Sets the new value for the parameterstring2Outputand returnsthisbuilder instance.
-
-
-
Method Detail
-
getKeepFiles
public boolean getKeepFiles()
Returns the current value for the parameterkeepFiles.- Returns:
- the current value for the parameter
keepFiles
-
setKeepFiles
public void setKeepFiles(boolean keepFiles)
Sets the new value for the parameterkeepFiles.- Parameters:
keepFiles- the new value for the parameterkeepFiles
-
withKeepFiles
public LTSminLTLAlternatingBuilder<I,O> withKeepFiles(boolean keepFiles)
Sets the new value for the parameterkeepFilesand returnsthisbuilder instance.- Parameters:
keepFiles- the new value for the parameterkeepFiles- Returns:
- the current builder instance
-
getString2Input
public Function<String,I> getString2Input()
Returns the current value for the parameterstring2Input.- Returns:
- the current value for the parameter
string2Input
-
setString2Input
public void setString2Input(Function<String,I> string2Input)
Sets the new value for the parameterstring2Input.- Parameters:
string2Input- the new value for the parameterstring2Input
-
withString2Input
public LTSminLTLAlternatingBuilder<I,O> withString2Input(Function<String,I> string2Input)
Sets the new value for the parameterstring2Inputand returnsthisbuilder instance.- Parameters:
string2Input- the new value for the parameterstring2Input- Returns:
- the current builder instance
-
getString2Output
public Function<String,O> getString2Output()
Returns the current value for the parameterstring2Output.- Returns:
- the current value for the parameter
string2Output
-
setString2Output
public void setString2Output(Function<String,O> string2Output)
Sets the new value for the parameterstring2Output.- Parameters:
string2Output- the new value for the parameterstring2Output
-
withString2Output
public LTSminLTLAlternatingBuilder<I,O> withString2Output(Function<String,O> string2Output)
Sets the new value for the parameterstring2Outputand returnsthisbuilder instance.- Parameters:
string2Output- the new value for the parameterstring2Output- Returns:
- the current builder instance
-
getMinimumUnfolds
public int getMinimumUnfolds()
Returns the current value for the parameterminimumUnfolds.- Returns:
- the current value for the parameter
minimumUnfolds
-
setMinimumUnfolds
public void setMinimumUnfolds(int minimumUnfolds)
Sets the new value for the parameterminimumUnfolds.- Parameters:
minimumUnfolds- the new value for the parameterminimumUnfolds
-
withMinimumUnfolds
public LTSminLTLAlternatingBuilder<I,O> withMinimumUnfolds(int minimumUnfolds)
Sets the new value for the parameterminimumUnfoldsand returnsthisbuilder instance.- Parameters:
minimumUnfolds- the new value for the parameterminimumUnfolds- Returns:
- the current builder instance
-
getMultiplier
public double getMultiplier()
Returns the current value for the parametermultiplier.- Returns:
- the current value for the parameter
multiplier
-
setMultiplier
public void setMultiplier(double multiplier)
Sets the new value for the parametermultiplier.- Parameters:
multiplier- the new value for the parametermultiplier
-
withMultiplier
public LTSminLTLAlternatingBuilder<I,O> withMultiplier(double multiplier)
Sets the new value for the parametermultiplierand returnsthisbuilder instance.- Parameters:
multiplier- the new value for the parametermultiplier- Returns:
- the current builder instance
-
getSkipOutputs
public Collection<? super O> getSkipOutputs()
Returns the current value for the parameterskipOutputs.- Returns:
- the current value for the parameter
skipOutputs
-
setSkipOutputs
public void setSkipOutputs(Collection<? super O> skipOutputs)
Sets the new value for the parameterskipOutputs.- Parameters:
skipOutputs- the new value for the parameterskipOutputs
-
withSkipOutputs
public LTSminLTLAlternatingBuilder<I,O> withSkipOutputs(Collection<? super O> skipOutputs)
Sets the new value for the parameterskipOutputsand returnsthisbuilder instance.- Parameters:
skipOutputs- the new value for the parameterskipOutputs- Returns:
- the current builder instance
-
create
public LTSminLTLAlternating<I,O> create()
Creates a newLTSminLTLAlternatinginstance with the configured parameters.- Returns:
- the created instance
-
-