Menu

util

Philipp Hülsdunk

Utilities

Join

The join class includes a method to join vertices of a graph. A JoinVerticeVisitor will be taken as argument that can perform actions depending on what kind of edges from the the joined vertices are being transformed.

Views

We have included some collections utilities for creating sub collection or transformed collections. Classes having the suffix 'View' are wrappers around a collection that will not allocate new memory for the transformed collection, but with the addAll method of a Java collection the view can be cached for efficiency.

All collection views can be found in the util package which contains, as for now:

  • BiTransformedCollectionView - an one-to-one transformed collection
  • TransformedCollecionView - an one-to-one transformed collection, that allows no modification.
  • BiTransformedSetView - an one-to-one transformed set
  • DifferenceSetView - a difference set.
  • IntersectionSetView - an intersection of two sets.
  • SubCollectionView - uses a method to filter out elements
  • SubSetView - uses a method to filter out elements

Also there are maps that uses a map function with a key set to evaluate its values.

  • FunctionMap - the whole key set will be mapped
  • FunctionalMap - allows an exclusion of keys

Also:

  • Sub(Bi/U)GraphView - allow a view of a portion of a given graph. This abstract class uses an evaluate method to filter out vertices and edges.
  • Intersection(Bi/U)GraphView - is a special subgraph that includes only vertices or edges that are in a given vertice or edge set.

Related

Wiki: Home