Class FORuleImpl
java.lang.Object
fr.inria.rules.dlgpemodel.HasItemInfoImpl
fr.inria.rules.dlgpemodel.SentenceImpl
fr.inria.rules.integraal.model.rule.impl.FORuleImpl
- All Implemented Interfaces:
fr.inria.rules.dlgpemodel.api.sentences.HasItemInfo, fr.inria.rules.dlgpemodel.api.sentences.IPrintable, fr.inria.rules.dlgpemodel.api.sentences.IRule, fr.inria.rules.dlgpemodel.api.sentences.ISentence, Labeled, Printable, Sentence, FORule, Rule
Default implementation of FORule
- Author:
- Florent Tornil
-
Field Summary
Fields inherited from interface fr.inria.rules.dlgpemodel.api.sentences.HasItemInfo
IDENTFields inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
WRITER -
Constructor Summary
ConstructorsConstructorDescriptionFORuleImpl(FOFormula body, FOFormula head) Constructor without labelFORuleImpl(String label, FOFormula body, FOFormula head) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBody()//////////////////////////////////////////////Returns the constants occurring in the rule.Returns the existential variables introduced by the rule head.Returns the frontier variables of the rule.getHead()getLabel()Deprecated.inthashCode()voidDeprecated.toDLGP()Renders this object in DLGP form.toString()Methods inherited from class fr.inria.rules.dlgpemodel.SentenceImpl
getPatterns, setPatternsMethods inherited from class fr.inria.rules.dlgpemodel.HasItemInfoImpl
getItemInfo, setItemInfoMethods inherited from interface fr.inria.rules.dlgpemodel.api.sentences.HasItemInfo
getIdentifier, getInfo, getItemInfo, setIdentifier, setInfo, setItemInfoMethods inherited from interface fr.inria.rules.dlgpemodel.api.sentences.IPrintable
toDLGPEMethods inherited from interface fr.inria.rules.dlgpemodel.api.sentences.ISentence
setPatternsMethods inherited from interface Sentence
getPatterns
-
Constructor Details
-
FORuleImpl
-
FORuleImpl
Deprecated.Constructor with label- Parameters:
label- the label of the rulebody- the body of the rulehead- the head of the rule
-
-
Method Details
-
getBody
-
getHead
-
getFrontier
Description copied from interface:RuleReturns the frontier variables of the rule.- Specified by:
getFrontierin interfaceRule- Returns:
- the frontier of the rule
-
getExistentials
Description copied from interface:RuleReturns the existential variables introduced by the rule head.- Specified by:
getExistentialsin interfaceRule- Returns:
- the existential variables of the rule
-
getConstants
Description copied from interface:RuleReturns the constants occurring in the rule.- Specified by:
getConstantsin interfaceRule- Returns:
- the constants of the rule
-
getLabel
-
setLabel
-
hashCode
-
equals
-
toString
-
toDLGP
-