Interface Graph

All Known Implementing Classes:
AbstractGraph, GraphL3, GraphL3Undirected

public interface Graph
This graph interface is used in graph algorithms.
Author:
Ozgun Babur
  • Method Details

    • getGraphObject

      GraphObject getGraphObject(Object obj)
      Gets the wrapper of the related object.
      Parameters:
      obj - The wrapped object
      Returns:
      Wrapper
    • getWrapperSet

      Set<Node> getWrapperSet(Set<?> objects)
      Gets the set of wrappers for the given wrapped object set.
      Parameters:
      objects - Wrapped objects
      Returns:
      Related wrappers
    • getWrapperMap

      Map<Object,Node> getWrapperMap(Set<?> objects)
      Gets a map from objects to their wrappers.
      Parameters:
      objects - Wrapped objects
      Returns:
      Object-to-wrapper map
    • getWrappedSet

      Set<Object> getWrappedSet(Set<? extends GraphObject> wrappers)
      Gets the wrapped objects of the given wrapper set.
      Parameters:
      wrappers - Wrappers
      Returns:
      Wrapped objects
    • clear

      void clear()
      Should clear any analysis specific labeling on the graph.