drasys.or.graph
Interface VertexPropertiesI

All Known Subinterfaces:
PropertiesI, TimeWindowPropertiesI

public interface VertexPropertiesI

The interface used by algorithms to obtain vertex properties.


Method Summary
 double getVertexCost(VertexI vertex)
          Returns the cost of crossing the vertex.
 double[] getVertexDemand(VertexI vertex)
          Returns the demand at a vertex.
 double getVertexTime(VertexI vertex)
          Returns the time to travel across the vertex.
 boolean isVertexRestricted(VertexI vertex)
          Prevents any path from crossing the vertex.
 

Method Detail

isVertexRestricted

public boolean isVertexRestricted(VertexI vertex)
Prevents any path from crossing the vertex. This attribute can be used to implement blockages in a graph without the overhead of editing edges.

getVertexCost

public double getVertexCost(VertexI vertex)
Returns the cost of crossing the vertex.

getVertexTime

public double getVertexTime(VertexI vertex)
Returns the time to travel across the vertex.

getVertexDemand

public double[] getVertexDemand(VertexI vertex)
Returns the demand at a vertex.


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com