Class FOConjunctionImpl
java.lang.Object
fr.inria.rules.integraal.model.formula.api.CompoundFOFormula
fr.inria.rules.integraal.model.formula.impl.FOConjunctionImpl
- All Implemented Interfaces:
fr.inria.rules.dlgpemodel.api.formulas.IConjunction, fr.inria.rules.dlgpemodel.api.formulas.IFormula, fr.inria.rules.dlgpemodel.api.sentences.IPrintable, FOFormula, FOFormulaConjunction, Substitutable<FOFormula>, TermCompound
Default implementation of FOFormulaConjunction
- Author:
- Florent Tornil
-
Field Summary
Fields inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
WRITER -
Constructor Summary
ConstructorsConstructorDescriptionFOConjunctionImpl(Collection<? extends FOFormula> subformulas) Constructor using sub formulas -
Method Summary
Modifier and TypeMethodDescriptionapplySubstitution(Substitution substitution, boolean evaluate) Applies a substitution to this formula.copy()Creates a deep copy of this formula.boolean////////////////////////////////////////////////////////////////////////////////////////////inthashCode()Methods inherited from class CompoundFOFormula
asAtomSet, getPredicates, getSubElements, getTerms, toStringMethods inherited from interface FOFormula
asAtomSet, asBooleanQuery, getPredicates, isAtomic, isDisjunction, isNegationMethods inherited from interface FOFormulaConjunction
applySubstitution, flattenedSubFormulas, getSubElements, isConjunctionMethods inherited from interface fr.inria.rules.dlgpemodel.api.formulas.IConjunction
exportsMethods inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
toDLGPEMethods inherited from interface TermCompound
getAllNestedTerms, getConstants, getLiterals, getNestedTerms, getTerms, getVariables
-
Constructor Details
-
FOConjunctionImpl
Constructor using sub formulas- Parameters:
subformulas- the sub formulas
-
-
Method Details
-
getConnectorRepresentation
//////////////////////////////////////////////- Specified by:
getConnectorRepresentationin classCompoundFOFormula- Returns:
- the string representation of the connector
-
equals
-
hashCode
-
applySubstitution
Description copied from interface:FOFormulaApplies a substitution to this formula.- Specified by:
applySubstitutionin interfaceFOFormula- Specified by:
applySubstitutionin interfaceFOFormulaConjunction- Specified by:
applySubstitutionin interfaceSubstitutable<FOFormula>- Parameters:
substitution- the substitution to applyevaluate- whether evaluable functions should be evaluated- Returns:
- the substituted formula
-
copy
Description copied from interface:FOFormulaCreates a deep copy of this formula.
-