Module xl.impl

Class GraphImpl

java.lang.Object
de.grogra.xl.impl.base.Graph
de.grogra.xl.impl.base.GraphImpl
All Implemented Interfaces:
Graph, Cloneable
Direct Known Subclasses:
Graph, Graph

public abstract class GraphImpl extends Graph
  • Constructor Details

  • Method Details

    • createQueue

      public GraphQueue createQueue(QueueCollection qc, QueueDescriptor descr)
      Specified by:
      createQueue in class Graph
    • addNode

      public abstract void addNode(Object node)
      Adds a node to this graph extent. This method is invoked by the XL runtime system before invocations of addEdgeBits(java.lang.Object, java.lang.Object, int). Implementations may perform tasks in preparation of the addition of edges, if necessary.
      Parameters:
      node - the node for which edges will be added later on
    • addEdgeBits

      public abstract void addEdgeBits(Object source, Object target, int bits)
      Adds a set of edge bits from a source node to a target node. This method is invoked within the right hand sides of XL productions ==>>, ==>.
      Parameters:
      source - the source node of the edge
      target - the target node of the edge
      bits - the edge bits that are to be added
    • removeEdgeBits

      public abstract void removeEdgeBits(Object source, Object target, int bits)
      Removes a set of edge bits from a source node to a target node. This method is invoked within the right hand sides of XL productions ==>>, ==>.
      Parameters:
      source - the source node of the edge
      target - the target node of the edge
      bits - the edge bits that are to be removed
    • removeNode

      public void removeNode(Object node)
    • createInterpretiveMark

      public Object createInterpretiveMark()