Package org.jreliability.bdd
Interface BDDProvider<T>
-
- Type Parameters:
T
- the type of the variables
- All Known Implementing Classes:
JBDDProvider
public interface BDDProvider<T>
TheBDDProvider
provides the actualBDD
s for each component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(java.util.List<T> variables)
Register variables in the specified order.void
add(T... variables)
Register variables in the specified order.T
get(BDD<T> bdd)
Returns thevariable
that is represented by theBDD
.BDD<T>
get(T variable)
Returns theBDD
that represents thevariable
.BDD<T>
one()
Returns thetrue
or1
BDD.BDD<T>
zero()
Returns thefalse
or0
BDD.
-
-
-
Method Detail
-
add
void add(java.util.List<T> variables)
Register variables in the specified order.- Parameters:
variables
- the variables to register
-
add
void add(T... variables)
Register variables in the specified order.- Parameters:
variables
- the variables to register
-
get
BDD<T> get(T variable)
Returns theBDD
that represents thevariable
.- Parameters:
variable
- the variable- Returns:
- the BDD that represents the Object
-
-