Class Node

java.lang.Object
com.semedy.reasoner.utils.Node
All Implemented Interfaces:
Iterable<Node>
Direct Known Subclasses:
DenseNode, RuleGraphNode

public class Node extends Object implements Iterable<Node>
  • Constructor Details

    • Node

      public Node()
  • Method Details

    • iterator

      public Iterator<Node> iterator()
      Specified by:
      iterator in interface Iterable<Node>
    • getIncoming

      public Set<Node> getIncoming()
    • getNeighbours

      public Set<Node> getNeighbours()
    • addNeighbour

      public boolean addNeighbour(Node n)
    • removeNeighbour

      public boolean removeNeighbour(Node n)
    • removeAllNeighbours

      public void removeAllNeighbours()
    • referred

      public int referred()
    • clone

      public Node clone()