annas.graph
Interface ArcFactory<N,A extends ArcInterface<N>>

Type Parameters:
N - Node type
A - Arc type
All Known Implementing Classes:
DefaultArcFactory

public interface ArcFactory<N,A extends ArcInterface<N>>

Factory used by the Graph class to construct Arcs

Author:
Sam Wilson

Method Summary
 A create(N tail, N head, WeightedInterface wi)
          Creates an arc of type A
 

Method Detail

create

A create(N tail,
         N head,
         WeightedInterface wi)
Creates an arc of type A

Parameters:
tail - Tail of the arc
head - Head of the arc
wi -
Returns: