public class VgIRoutingModule extends VgIModule
Modifier and Type | Method and Description |
---|---|
void |
delete() |
void |
getAllAttributeNames(VgStringVector pNames)
This method is used to get the names of all the attributes present in the database.
|
void |
getAllModalityNames(VgStringVector pNames)
This method is used to get the names of all the modalities present in the database.
|
VgIRouteConverterFactory |
getRouteConverterFactory()
Retrieves the route converter factor.
|
VgIRoutingSolver |
getRoutingSolver()
Retrieves the routing solver.
|
int |
setEdgeTimeByAttributeAndModality(java.lang.String pEdgeAttribute,
java.lang.String pModality,
float pTime)
Sets the traversal time for a given modality on edges with a given attribute.
|
public VgIRoutingSolver getRoutingSolver()
public VgIRouteConverterFactory getRouteConverterFactory()
public int setEdgeTimeByAttributeAndModality(java.lang.String pEdgeAttribute, java.lang.String pModality, float pTime)
pEdgeAttribute
- The searched attributes. All edges containing this attribute will be affected.pModality
- The affected modality (time can only be set for modalities, no time concept in edges alone).pTime
- The time to associate.public void getAllModalityNames(VgStringVector pNames)
pNames
- The list of strings that will be fed with the modality names. This may
return an empty vector if no modalities are specified within the database.public void getAllAttributeNames(VgStringVector pNames)
pNames
- The list of strings that will be fed with the attribute names. This may return an
empty vector if no attributes are specified within the database.