Package openllet.core.rules.rete
Class AlphaEdgeNode
- java.lang.Object
-
- openllet.core.rules.rete.ReteNode
-
- openllet.core.rules.rete.AlphaNode
-
- openllet.core.rules.rete.AlphaEdgeNode
-
- Direct Known Subclasses:
AlphaFixedEdgeNode,AlphaReflexiveEdgeNode
public class AlphaEdgeNode extends AlphaNode
-
-
Constructor Summary
Constructors Constructor Description AlphaEdgeNode(ABox abox, Role role)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanactivate(Edge edge)booleanequals(java.lang.Object obj)java.util.Iterator<WME>getMatches()java.util.Iterator<WME>getMatches(int argIndex, Node arg)RolegetRole()inthashCode()booleanmatches(RuleAtom atom)java.lang.StringtoString()-
Methods inherited from class openllet.core.rules.rete.AlphaNode
print, setDoExplanation
-
-
-
-
Method Detail
-
getRole
public Role getRole()
-
activate
public boolean activate(Edge edge)
-
getMatches
public java.util.Iterator<WME> getMatches(int argIndex, Node arg)
- Specified by:
getMatchesin classAlphaNode
-
getMatches
public java.util.Iterator<WME> getMatches()
- Specified by:
getMatchesin classAlphaNode
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-