public class BooleanExpression
extends java.lang.Object
Constructor and Description |
---|
BooleanExpression()
Default constructor, it creates an empty boolean expression
|
BooleanExpression(org.eclipse.emf.common.util.EList boolOperands)
This is the constructor for the class, it creates a boolean expression from the operands
specified through the parameter, it is an expression in the DNF
|
Modifier and Type | Method and Description |
---|---|
void |
addBooleanOperand(laas.aadl.aadl2gspn.BooleanOperand bo) |
org.eclipse.emf.common.util.EList |
getExpression()
It returns the elements of this boolean expression
|
int |
getSize() |
void |
printExpression()
This is a method used to print the expression
|
void |
simplifyBooleanExpression()
This method simplifies the current boolean expression
|
public BooleanExpression(org.eclipse.emf.common.util.EList boolOperands)
boolOperands
- EList containing objects of class BooleanOperandpublic BooleanExpression()
public void addBooleanOperand(laas.aadl.aadl2gspn.BooleanOperand bo)
bo
- BooleanOperand to add to this boolean expressionpublic org.eclipse.emf.common.util.EList getExpression()
public int getSize()
public void printExpression()
public void simplifyBooleanExpression()