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 boolean
activate(Edge edge)
boolean
equals(java.lang.Object obj)
java.util.Iterator<WME>
getMatches()
java.util.Iterator<WME>
getMatches(int argIndex, Node arg)
Role
getRole()
int
hashCode()
boolean
matches(RuleAtom atom)
java.lang.String
toString()
-
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:
getMatches
in classAlphaNode
-
getMatches
public java.util.Iterator<WME> getMatches()
- Specified by:
getMatches
in classAlphaNode
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-