All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.javagimmicks.graph.DefaultValuedEdge Maven / Gradle / Ivy

There is a newer version: 0.99-alpha1
Show newest version
package net.sf.javagimmicks.graph;

/**
 * A default implementation of {@link Edge}, {@link DirectedEdge},
 * {@link WeightedEdge} and {@link ValuedEdge}.
 */
public class DefaultValuedEdge extends
      AbstractDefaultValuedEdge>
{
   /**
    * Creates a new instance for the given {@link Graph}, source vertex, target
    * vertex and value.
    * 
    * @param graph
    *           the {@link Graph} to create the instance for
    * @param source
    *           the source vertex
    * @param target
    *           the target vertex
    * @param value
    *           the value that this instance should carry
    */
   public DefaultValuedEdge(final Graph> graph,
         final VertexType source,
         final VertexType target, final ValueType value)
   {
      super(graph, source, target, value);
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy