annas.graph
Class DefaultArcFactory<N>

java.lang.Object
  extended by annas.graph.DefaultArcFactory<N>
Type Parameters:
N - Node type
All Implemented Interfaces:
ArcFactory<N,DefaultArc<N>>

public class DefaultArcFactory<N>
extends java.lang.Object
implements ArcFactory<N,DefaultArc<N>>

Default implementation of ArcFactor

Author:
Sam Wilson

Constructor Summary
DefaultArcFactory()
           
 
Method Summary
 DefaultArc<N> create(N tail, N head, WeightedInterface wi)
          Creates an arc of type A
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArcFactory

public DefaultArcFactory()
Method Detail

create

public DefaultArc<N> create(N tail,
                            N head,
                            WeightedInterface wi)
Creates an arc of type A

Specified by:
create in interface ArcFactory<N,DefaultArc<N>>
Parameters:
tail - Tail of the arc
head - Head of the arc
Returns: