public class LODNetworkFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MIN_LINK_LEVEL |
| Modifier and Type | Method and Description |
|---|---|
static LogicalBasicNetwork |
createLogicalBasicNetwork(java.lang.String networkName, int linkLevel)
Creates an empty logical network.
|
static LogicalBasicNetwork |
createLogicalBasicNetwork(java.lang.String networkName, int linkLevel, int numNodes, int numLinks)
Creates an empty logical network.
|
static LogicalHeavyPath |
createLogicalHeavyPath(LogicalLink[] links, LogicalNode[] nodes, double[] costs, CategorizedUserData userData, boolean isReverse)
Creates a heavy-weight logical path, which contains the object representation of the links and nodes on the path.
|
static LogicalHeavyPath |
createLogicalHeavyPath(LogicalLink[] links, LogicalNode[] nodes, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
use createLogicalHeavyPath( LogicalLink[] links, LogicalNode[] nodes, double[] costs, CategorizedUserData userData)
|
static LogicalLightPath |
createLogicalLightPath(long startNodeId, long endNodeId, long firstLink, long lastLink, int numberOfNodes, int numberOfLinks, double[] costs, CategorizedUserData userData, boolean isReverse)
Creates a light-weight logical path, which contains only the start and end node IDs and costs of the path.
|
static LogicalLightSubPath |
createLogicalLightSubPath(LogicalLightPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, CategorizedUserData userData)
Creates a light-weight logical sub-path, i.e., a logical sub-path that refers to a light-weight logical path.
|
static LogicalLink |
createLogicalLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, CategorizedUserData userData)
Creates a stand-alone logical link.
|
static LogicalLink |
createLogicalLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)
Deprecated.
|
static LogicalLink |
createLogicalLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalLink |
createLogicalLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)
Deprecated.
|
static LogicalLink |
createLogicalLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalNetLink |
createLogicalNetLink(long id, int level, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, CategorizedUserData userData)
Creates a logical link with reference to its start and end node objects.
|
static LogicalNetLink |
createLogicalNetLink(long id, int level, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)
Deprecated.
|
static LogicalNetLink |
createLogicalNetLink(long id, int level, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalNetLink |
createLogicalNetLink(long id, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)
Deprecated.
|
static LogicalNetLink |
createLogicalNetLink(long id, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalNetNode |
createLogicalNetNode(long id, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalNetNode |
createLogicalNetNode(long id, double cost, boolean isActive, int maxLinkLevel, LODUserDataIO udio)
Deprecated.
|
static LogicalNetNode |
createLogicalNetNode(long id, double cost, boolean isActive, int maxLinkLevel, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalNetNode |
createLogicalNetNode(long id, double cost, boolean isActive, LODUserDataIO udio)
Deprecated.
|
static LogicalNetNode |
createLogicalNetNode(long id, double cost, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalNetNode |
createLogicalNetNode(long id, int partitionId, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, CategorizedUserData userData)
Creates a logical node to which we can add reference to incident links.
|
static LogicalNetNode |
createLogicalNetNode(long id, int partitionId, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalNode |
createLogicalNode(long id, double cost, boolean isActive, int maxLinkLevel, CategorizedUserData userData)
Creates a stand-alone logical node.
|
static LogicalNode |
createLogicalNode(long id, double cost, boolean isActive, int maxLinkLevel, LODUserDataIO udio)
Creates a stand-alone logical node.
|
static LogicalNode |
createLogicalNode(long id, double cost, boolean isActive, int maxLinkLevel, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalNode |
createLogicalNode(long id, double cost, boolean isActive, LODUserDataIO udio)
Deprecated.
|
static LogicalNode |
createLogicalNode(long id, double cost, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalPartition |
createLogicalPartition(java.lang.String networkName, int partitionId, int linkLevel)
Creates an empty logical partition.
|
static LogicalPartition |
createLogicalPartition(java.lang.String networkName, int partitionId, int linkLevel, int numInternalNodes, int numExternalNodes, int numInternalLinks, int numBoundaryLinks)
Creates an empty logical partition.
|
static LogicalPath |
createLogicalPath(long[] linkIds, long[] nodeIds, double[] costs, CategorizedUserData userData, boolean isReverse)
Creates a logical path, which contains only the IDs of the links and the nodes on the path, instead of the link and node objects.
|
static LogicalPath |
createLogicalPath(long[] linkIds, long[] nodeIds, double[] costs, java.util.Map<java.lang.String,java.lang.Object> userData, boolean isReverse)
Deprecated.
|
static LogicalPath |
createLogicalPath(long[] linkIds, long[] nodeIds, double cost, java.util.Map<java.lang.String,java.lang.Object> userData, boolean isReverse)
Deprecated.
use createLogicalPath( long[] linkIds, long[] nodeIds, double[] costs, Map userData)
|
static LogicalSubPath |
createLogicalSubPath(LogicalPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, CategorizedUserData userData)
Creates a logical sub-path.
|
static LogicalSubPath |
createLogicalSubPath(LogicalPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static LogicalSubPath |
createLogicalSubPath(LogicalPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double cost, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
use createLogicalSubPath( LogicalPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, CategorizedUserData userData)
|
static SpatialBasicNetwork |
createSpatialBasicNetwork(java.lang.String networkName, int linkLevel)
Creates an empty spatial network.
|
static SpatialBasicNetwork |
createSpatialBasicNetwork(java.lang.String networkName, int linkLevel, int numNodes, int numLinks)
Creates an empty spatial network.
|
static SpatialHeavyPath |
createSpatialHeavyPath(SpatialLink[] links, SpatialNode[] nodes, double[] costs, JGeometry geometry, CategorizedUserData userData, boolean isReverse)
Creates a heavy-weight spatial path, which contains the object representation of the links and nodes on the path.
|
static SpatialHeavyPath |
createSpatialHeavyPath(SpatialLink[] links, SpatialNode[] nodes, double[] costs, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData, boolean isReverse)
Creates a heavy-weight spatial path, which contains the object representation of the links and nodes on the path.
|
static SpatialHeavyPath |
createSpatialHeavyPath(SpatialLink[] links, SpatialNode[] nodes, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Creates a heavy-weight spatial path, which contains the object representation of the links and nodes on the path.
|
static SpatialLink |
createSpatialLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, CategorizedUserData userData)
Creates a stand-alone spatial link.
|
static SpatialLink |
createSpatialLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, LODUserDataIO udio)
Deprecated.
|
static SpatialLink |
createSpatialLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static SpatialLink |
createSpatialLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, LODUserDataIO udio)
Deprecated.
|
static SpatialLink |
createSpatialLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static SpatialNetLink |
createSpatialNetLink(long id, int level, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, CategorizedUserData userData)
Creates a spatial link with reference to its start and end node objects.
|
static SpatialNetLink |
createSpatialNetLink(long id, int level, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, LODUserDataIO udio)
Deprecated.
|
static SpatialNetLink |
createSpatialNetLink(long id, int level, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static SpatialNetLink |
createSpatialNetLink(long id, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, LODUserDataIO udio)
Creates a spatial link with reference to its start and end node objects.
|
static SpatialNetLink |
createSpatialNetLink(long id, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Creates a spatial link with reference to its start and end node objects.
|
static SpatialNetNode |
createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static SpatialNetNode |
createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, int maxLinkLevel, JGeometry geometry, LODUserDataIO udio)
Deprecated.
|
static SpatialNetNode |
createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, int maxLinkLevel, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static SpatialNetNode |
createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, JGeometry geometry, LODUserDataIO udio)
Deprecated.
|
static SpatialNetNode |
createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static SpatialNetNode |
createSpatialNetNode(long id, int partitionId, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, JGeometry geometry, CategorizedUserData userData)
Creates a spatial node to which we can add reference to incident links.
|
static SpatialNetNode |
createSpatialNetNode(long id, int partitionId, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static SpatialNode |
createSpatialNode(long id, double cost, boolean isActive, int maxLinkLevel, JGeometry geometry, CategorizedUserData userData)
Creates a stand-alone spatial node.
|
static SpatialNode |
createSpatialNode(long id, double cost, boolean isActive, int maxLinkLevel, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static SpatialNode |
createSpatialNode(long id, double cost, boolean isActive, JGeometry geometry, LODUserDataIO udio)
Deprecated.
|
static SpatialNode |
createSpatialNode(long id, double cost, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
static SpatialNode |
createSpatialNode(long id, double cost, int maxLinkLevel, boolean isActive, JGeometry geometry, LODUserDataIO udio)
Creates a stand-alone spatial node.
|
static SpatialPartition |
createSpatialPartition(java.lang.String networkName, int partitionId, int linkLevel)
Creates an empty spatial partition.
|
static SpatialPartition |
createSpatialPartition(java.lang.String networkName, int partitionId, int linkLevel, int numInternalNodes, int numExternalNodes, int numInternalLinks, int numBoundaryLinks)
Creates an empty spatial partition.
|
static SpatialPath |
createSpatialPath(long[] linkIds, long[] nodeIds, double[] costs, JGeometry geometry, CategorizedUserData userData, boolean isReverse)
Creates a light-weight spatial path, which contains only the IDs of the links and the nodes on the path, instead of the link and node objects.
|
static SpatialPath |
createSpatialPath(long[] linkIds, long[] nodeIds, double[] costs, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData, boolean isReverse)
Deprecated.
|
static SpatialSubPath |
createSpatialSubPath(SpatialPath referencePath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, JGeometry geometry, CategorizedUserData userData)
Creates a spatial sub-path.
|
static SpatialSubPath |
createSpatialSubPath(SpatialPath referencePath, int startLinkIndex, int endLinkIndex, double startPercentage, double endPercentage, double[] costs, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
Deprecated.
|
public static LogicalBasicNetwork createLogicalBasicNetwork(java.lang.String networkName, int linkLevel)
networkName - network namepublic static LogicalBasicNetwork createLogicalBasicNetwork(java.lang.String networkName, int linkLevel, int numNodes, int numLinks)
networkName - network namenumNodes - estimated number of nodesnumLinks - estimated number of linkspublic static LogicalPartition createLogicalPartition(java.lang.String networkName, int partitionId, int linkLevel)
networkName - network namepartitionId - partition IDpublic static LogicalPartition createLogicalPartition(java.lang.String networkName, int partitionId, int linkLevel, int numInternalNodes, int numExternalNodes, int numInternalLinks, int numBoundaryLinks)
networkName - network namepartitionId - partition IDnumInternalNodes - estimated number of internal nodesnumExternalNodes - estimated number of external nodesnumInternalLinks - estimated number of internal linksnumBoundaryLinks - estimated number of external linkspublic static LogicalNode createLogicalNode(long id, double cost, boolean isActive, int maxLinkLevel, LODUserDataIO udio)
id - node IDcost - node costisActive - whether the node is active or notudio - user data IO implementationpublic static LogicalNode createLogicalNode(long id, double cost, boolean isActive, LODUserDataIO udio)
id - node IDcost - node costisActive - whether the node is active or notudio - user data IO implementationpublic static LogicalNode createLogicalNode(long id, double cost, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static LogicalNode createLogicalNode(long id, double cost, boolean isActive, int maxLinkLevel, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static LogicalNode createLogicalNode(long id, double cost, boolean isActive, int maxLinkLevel, CategorizedUserData userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user datapublic static LogicalNetNode createLogicalNetNode(long id, double cost, boolean isActive, LODUserDataIO udio)
id - node IDcost - node costisActive - whether the node is active or notudio - user data IO implementationpublic static LogicalNetNode createLogicalNetNode(long id, double cost, boolean isActive, int maxLinkLevel, LODUserDataIO udio)
id - node IDcost - node costisActive - whether the node is active or notudio - user data IO implementationpublic static LogicalNetNode createLogicalNetNode(long id, double cost, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static LogicalNetNode createLogicalNetNode(long id, double cost, boolean isActive, int maxLinkLevel, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static LogicalNetNode createLogicalNetNode(long id, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static LogicalNetNode createLogicalNetNode(long id, int partitionId, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static LogicalNetNode createLogicalNetNode(long id, int partitionId, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, CategorizedUserData userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static LogicalLink createLogicalLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)
id - link IDstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notudio - user data IO implementationpublic static LogicalLink createLogicalLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
id - link IDstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user data name-value pairspublic static LogicalLink createLogicalLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)
id - link IDlevel - link levelstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notudio - user data IO implementationpublic static LogicalLink createLogicalLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
id - link IDlevel - link levelstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user data name-value pairspublic static LogicalLink createLogicalLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, CategorizedUserData userData)
id - link IDlevel - link levelstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user datapublic static LogicalNetLink createLogicalNetLink(long id, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)
id - link IDstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notudio - user data IO implementationpublic static LogicalNetLink createLogicalNetLink(long id, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
id - link IDstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user data name-value pairspublic static LogicalNetLink createLogicalNetLink(long id, int level, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)
id - link IDlevel - link levelstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notudio - user data IO implementationpublic static LogicalNetLink createLogicalNetLink(long id, int level, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)
id - link IDlevel - link levelstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user data name-value pairspublic static LogicalNetLink createLogicalNetLink(long id, int level, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, CategorizedUserData userData)
id - link IDlevel - link levelstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user datapublic static LogicalPath createLogicalPath(long[] linkIds, long[] nodeIds, double cost, java.util.Map<java.lang.String,java.lang.Object> userData, boolean isReverse)
linkIds - IDs of the links on the pathnodeIds - IDs of the nodes on the pathcost - path cost, which is the sum of all the link and nodes on the path less the cost of the start and end nodes.userData - user data name-value pairspublic static LogicalPath createLogicalPath(long[] linkIds, long[] nodeIds, double[] costs, java.util.Map<java.lang.String,java.lang.Object> userData, boolean isReverse)
linkIds - IDs of the links on the pathnodeIds - IDs of the nodes on the pathcosts - path costs, which is the sum of all the link and node costs on the path less the cost of the end node.userData - user data name-value pairspublic static LogicalPath createLogicalPath(long[] linkIds, long[] nodeIds, double[] costs, CategorizedUserData userData, boolean isReverse)
linkIds - IDs of the links on the pathnodeIds - IDs of the nodes on the pathcosts - path costs, which is the sum of all the link and node costs on the path less the cost of the end node.userData - user datapublic static LogicalLightPath createLogicalLightPath(long startNodeId, long endNodeId, long firstLink, long lastLink, int numberOfNodes, int numberOfLinks, double[] costs, CategorizedUserData userData, boolean isReverse)
startNodeId - start node IDendNodeId - end node IDcosts - path costs, which is the sum of all the link and node costs on the path less the cost of the end node.public static LogicalHeavyPath createLogicalHeavyPath(LogicalLink[] links, LogicalNode[] nodes, java.util.Map<java.lang.String,java.lang.Object> userData)
links - links on the pathnodes - nodes on the pathuserData - user data name-value pairspublic static LogicalHeavyPath createLogicalHeavyPath(LogicalLink[] links, LogicalNode[] nodes, double[] costs, CategorizedUserData userData, boolean isReverse)
links - links on the pathnodes - nodes on the pathcosts - path costsuserData - user datapublic static LogicalSubPath createLogicalSubPath(LogicalPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double cost, java.util.Map<java.lang.String,java.lang.Object> userData)
refPath - the reference path that contains the sub-pathstartLinkIndex - index of the start linkstartPercentage - location of the start point represented as a percentage on the start linkendLinkIndex - index of the end linkendPercentage - location of the end point represented as a percentage on the end linkcost - sub-path costuserData - user data name-value pairspublic static LogicalSubPath createLogicalSubPath(LogicalPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, java.util.Map<java.lang.String,java.lang.Object> userData)
refPath - the reference path that contains the sub-pathstartLinkIndex - index of the start linkstartPercentage - location of the start point represented as a percentage on the start linkendLinkIndex - index of the end linkendPercentage - location of the end point represented as a percentage on the end linkcosts - sub-path costsuserData - user data name-value pairspublic static LogicalSubPath createLogicalSubPath(LogicalPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, CategorizedUserData userData)
refPath - the reference path that contains the sub-pathstartLinkIndex - index of the start linkstartPercentage - location of the start point represented as a percentage on the start linkendLinkIndex - index of the end linkendPercentage - location of the end point represented as a percentage on the end linkcosts - sub-path costsuserData - user data name-value pairspublic static LogicalLightSubPath createLogicalLightSubPath(LogicalLightPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, CategorizedUserData userData)
refPath - the reference path that contains the sub-pathstartPercentage - location of the start point represented as a percentage on the start linkendPercentage - location of the end point represented as a percentage on the end linkcosts - sub-path costspublic static SpatialBasicNetwork createSpatialBasicNetwork(java.lang.String networkName, int linkLevel)
networkName - network namepublic static SpatialBasicNetwork createSpatialBasicNetwork(java.lang.String networkName, int linkLevel, int numNodes, int numLinks)
networkName - network namenumNodes - estimated number of nodesnumLinks - estimated number of linkspublic static SpatialPartition createSpatialPartition(java.lang.String networkName, int partitionId, int linkLevel)
networkName - network namepartitionId - partition IDpublic static SpatialPartition createSpatialPartition(java.lang.String networkName, int partitionId, int linkLevel, int numInternalNodes, int numExternalNodes, int numInternalLinks, int numBoundaryLinks)
networkName - network namepartitionId - partition IDnumInternalNodes - estimated number of internal nodesnumExternalNodes - estimated number of external nodesnumInternalLinks - estimated number of internal linksnumBoundaryLinks - estimated number of external linkspublic static SpatialNode createSpatialNode(long id, double cost, boolean isActive, JGeometry geometry, LODUserDataIO udio)
id - node IDcost - node costisActive - whether the node is active or notudio - user data IO implementationpublic static SpatialNode createSpatialNode(long id, double cost, int maxLinkLevel, boolean isActive, JGeometry geometry, LODUserDataIO udio)
id - node IDcost - node costisActive - whether the node is active or notudio - user data IO implementationpublic static SpatialNode createSpatialNode(long id, double cost, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static SpatialNode createSpatialNode(long id, double cost, boolean isActive, int maxLinkLevel, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static SpatialNode createSpatialNode(long id, double cost, boolean isActive, int maxLinkLevel, JGeometry geometry, CategorizedUserData userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static SpatialNetNode createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, JGeometry geometry, LODUserDataIO udio)
id - node IDcost - node costisActive - whether the node is active or notudio - user data IO implementationpublic static SpatialNetNode createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, int maxLinkLevel, JGeometry geometry, LODUserDataIO udio)
id - node IDcost - node costisActive - whether the node is active or notudio - user data IO implementationpublic static SpatialNetNode createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static SpatialNetNode createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, int maxLinkLevel, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static SpatialNetNode createSpatialNetNode(long id, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static SpatialNetNode createSpatialNetNode(long id, int partitionId, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static SpatialNetNode createSpatialNetNode(long id, int partitionId, int linkLevel, double cost, boolean isActive, int maxLinkLevel, int numInLinks, int numOutLinks, JGeometry geometry, CategorizedUserData userData)
id - node IDcost - node costisActive - whether the node is active or notuserData - user data name-value pairspublic static SpatialLink createSpatialLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, LODUserDataIO udio)
id - link IDstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notudio - user data IO implementationpublic static SpatialLink createSpatialLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, LODUserDataIO udio)
id - link IDlevel - link levelstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notudio - user data IO implementationpublic static SpatialLink createSpatialLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - link IDstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user data name-value pairpublic static SpatialLink createSpatialLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - link IDlevel - link levelstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user data name-value pairpublic static SpatialLink createSpatialLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, CategorizedUserData userData)
id - link IDlevel - link levelstartNodeId - start node IDendNodeId - end node IDcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user data objectpublic static SpatialNetLink createSpatialNetLink(long id, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, LODUserDataIO udio)
id - link IDstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notudio - user data IO implementationpublic static SpatialNetLink createSpatialNetLink(long id, int level, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, LODUserDataIO udio)
id - link IDlevel - link levelstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notudio - user data IO implementationpublic static SpatialNetLink createSpatialNetLink(long id, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - link IDstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user data name-value pairs: ignoredpublic static SpatialNetLink createSpatialNetLink(long id, int level, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
id - link IDlevel - link levelstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user data name-value pairs: ignoredpublic static SpatialNetLink createSpatialNetLink(long id, int level, SpatialNetNode startNode, SpatialNetNode endNode, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, CategorizedUserData userData)
id - link IDlevel - link levelstartNode - start node objectendNode - end node objectcost - link costisBidirected - whether the link is bidirected or notisActive - whether the link is active or notuserData - user datapublic static SpatialPath createSpatialPath(long[] linkIds, long[] nodeIds, double[] costs, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData, boolean isReverse)
linkIds - IDs of the links on the pathnodeIds - IDs of the nodes on the pathcosts - path costs, which is the sum of all the link and nodes on the path less the cost of the end node.userData - user data name value pairs : ignoredpublic static SpatialPath createSpatialPath(long[] linkIds, long[] nodeIds, double[] costs, JGeometry geometry, CategorizedUserData userData, boolean isReverse)
linkIds - IDs of the links on the pathnodeIds - IDs of the nodes on the pathcosts - path costs, which is the sum of all the link and nodes on the path less the cost of the end node.userData - user datapublic static SpatialSubPath createSpatialSubPath(SpatialPath referencePath, int startLinkIndex, int endLinkIndex, double startPercentage, double endPercentage, double[] costs, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
referencePath - the reference path that contains the sub-pathstartLinkIndex - index of the start linkstartPercentage - location of the start point represented as a percentage on the start linkendLinkIndex - index of the end linkendPercentage - location of the end point represented as a percentage on the end linkcosts - sub-path costsuserData - user data: ignoredpublic static SpatialSubPath createSpatialSubPath(SpatialPath referencePath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double[] costs, JGeometry geometry, CategorizedUserData userData)
referencePath - the reference path that contains the sub-pathstartLinkIndex - index of the start linkstartPercentage - location of the start point represented as a percentage on the start linkendLinkIndex - index of the end linkendPercentage - location of the end point represented as a percentage on the end linkcosts - sub-path costsuserData - user datapublic static SpatialHeavyPath createSpatialHeavyPath(SpatialLink[] links, SpatialNode[] nodes, double[] costs, JGeometry geometry, CategorizedUserData userData, boolean isReverse)
links - links on the pathnodes - nodes on the pathuserData - user datapublic static SpatialHeavyPath createSpatialHeavyPath(SpatialLink[] links, SpatialNode[] nodes, double[] costs, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData, boolean isReverse)
links - links on the pathnodes - nodes on the pathcosts - path costsuserData - user datapublic static SpatialHeavyPath createSpatialHeavyPath(SpatialLink[] links, SpatialNode[] nodes, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)
links - links on the pathnodes - nodes on the pathuserData - user data