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 constructingLTSminLTLAlternating
instances.
-
-
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 newLTSminLTLAlternating
instance with the configured parameters.boolean
getKeepFiles()
Returns the current value for the parameterkeepFiles
.int
getMinimumUnfolds()
Returns the current value for the parameterminimumUnfolds
.double
getMultiplier()
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
.void
setKeepFiles(boolean keepFiles)
Sets the new value for the parameterkeepFiles
.void
setMinimumUnfolds(int minimumUnfolds)
Sets the new value for the parameterminimumUnfolds
.void
setMultiplier(double multiplier)
Sets the new value for the parametermultiplier
.void
setSkipOutputs(Collection<? super O> skipOutputs)
Sets the new value for the parameterskipOutputs
.void
setString2Input(Function<String,I> string2Input)
Sets the new value for the parameterstring2Input
.void
setString2Output(Function<String,O> string2Output)
Sets the new value for the parameterstring2Output
.LTSminLTLAlternatingBuilder<I,O>
withKeepFiles(boolean keepFiles)
Sets the new value for the parameterkeepFiles
and returnsthis
builder instance.LTSminLTLAlternatingBuilder<I,O>
withMinimumUnfolds(int minimumUnfolds)
Sets the new value for the parameterminimumUnfolds
and returnsthis
builder instance.LTSminLTLAlternatingBuilder<I,O>
withMultiplier(double multiplier)
Sets the new value for the parametermultiplier
and returnsthis
builder instance.LTSminLTLAlternatingBuilder<I,O>
withSkipOutputs(Collection<? super O> skipOutputs)
Sets the new value for the parameterskipOutputs
and returnsthis
builder instance.LTSminLTLAlternatingBuilder<I,O>
withString2Input(Function<String,I> string2Input)
Sets the new value for the parameterstring2Input
and returnsthis
builder instance.LTSminLTLAlternatingBuilder<I,O>
withString2Output(Function<String,O> string2Output)
Sets the new value for the parameterstring2Output
and returnsthis
builder 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 parameterkeepFiles
and returnsthis
builder 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 parameterstring2Input
and returnsthis
builder 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 parameterstring2Output
and returnsthis
builder 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 parameterminimumUnfolds
and returnsthis
builder 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 parametermultiplier
and returnsthis
builder 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 parameterskipOutputs
and returnsthis
builder instance.- Parameters:
skipOutputs
- the new value for the parameterskipOutputs
- Returns:
- the current builder instance
-
create
public LTSminLTLAlternating<I,O> create()
Creates a newLTSminLTLAlternating
instance with the configured parameters.- Returns:
- the created instance
-
-