DiaDes
0.1
DIAgnosis of Discrete-Event System
|
Namespaces | |
Experimental | |
Classes | |
class | Assignment |
class | BddComponent |
class | BddModel |
class | ComponentType |
class | ComponentTypeInvalid |
class | CubeGenerator |
class | Event |
class | EventInvalid |
class | Formula |
struct | FormulaBinaryOperator |
class | FormulaBox |
class | FormulaFactory |
struct | FormulaUnaryOperator |
class | Port |
class | PortInvalid |
class | Rule |
class | RuleInvalid |
class | StateNode |
class | Unfolding |
class | UnfoldingState |
class | UnfoldingStateTable |
class | Value |
class | ValueFactory |
class | Variable |
class | VariableFactory |
Typedefs | |
typedef Formula::FormulaVector | FormulaVector |
typedef Value::ValueVector | ValueVector |
typedef Variable::VariableVector | VariableVector |
Functions | |
void | encodeCubes (int m, int n, std::vector< std::vector< int > > &result, int index) |
void | printFormula (const Formula &formula, ostream &os) |
template<Formula::UnaryOperator UnaryOp> | |
FormulaVector & | applyUnaryOperator (FormulaVector &formulas) |
FormulaVector & | notF (FormulaVector &formulas) |
template<Formula::BinaryOperator BinaryOp> | |
FormulaVector & | applyBinaryOperator (FormulaVector &formulas, const Formula &f2) |
FormulaVector & | andF (FormulaVector &formulas, const Formula &f) |
FormulaVector & | orF (FormulaVector &formulas, const Formula &f) |
template<typename T > | |
ostream & | operator<< (ostream &os, const StateNode< T > &stateNode) |
FormulaVector
vector of Formula constant references (const)
Definition at line 434 of file Formula.hh.
VariableVector
a vector of Variable references (non-const)
Definition at line 403 of file Variable.hh.
|
inline |
Apply 'and f' to every formula in the vector
formulas | the vector of formulas |
f | the formula in conjunction |
Definition at line 1216 of file Formula.hh.
FormulaVector& Diades::Sdmdl::applyBinaryOperator | ( | FormulaVector & | formulas, |
const Formula & | f2 | ||
) |
Definition at line 1194 of file Formula.hh.
FormulaVector& Diades::Sdmdl::applyUnaryOperator | ( | FormulaVector & | formulas | ) |
Definition at line 1167 of file Formula.hh.
void Diades::Sdmdl::encodeCubes | ( | int | m, |
int | n, | ||
std::vector< std::vector< int > > & | result, | ||
int | index | ||
) |
Cube encoding
m | the number of codes to get |
n | the number of available bdd variables |
result | the resulting set of m vectors resulting from the encoding of the m codes on the n variables |
index | starting index in the n variables var[0], ..., var[n-1] (the user should call it with index = 0) |
|
inline |
Apply not to every formula in the vector
formulas | the vector of formulas |
Definition at line 1187 of file Formula.hh.
|
inline |
output stream operator on a StateNode
Definition at line 98 of file UnfoldingStateTable.hh.
References Diades::Sdmdl::StateNode< T >::children().
Referenced by Diades::Sdmdl::Rule::cubeSize(), and Diades::Sdmdl::Event::type().
|
inline |
Apply 'or f' to every formula in the vector
formulas | the vector of formulas |
f | the formula in conjunction |
Definition at line 1228 of file Formula.hh.
void Diades::Sdmdl::printFormula | ( | const Formula & | formula, |
ostream & | os | ||
) |
Print the formula in the output stream as the disjunction of the prime implicants
formula | the formula to print out |
os | the updated output stream |