|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.spatial.network.lod.LODNetworkFactory
public class LODNetworkFactory
This class handles network element creation for Oracle Spatial Network Data Model.
| Method Summary | |
|---|---|
static LogicalBasicNetwork |
createLogicalBasicNetwork(java.lang.String networkName)Creates an empty logical network. |
static LogicalBasicNetwork |
createLogicalBasicNetwork(java.lang.String networkName, int numNodes, int numLinks)Creates an empty logical network. |
static LogicalHeavyPath |
createLogicalHeavyPath(LogicalLink[] links, LogicalNode[] nodes, LODUserDataIO udio)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)Creates a heavy-weight logical path, which contains the object representation of the links and nodes on the path. |
static LogicalLink |
createLogicalLink(long id, int level, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)Creates a stand-alone logical link. |
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)Creates a stand-alone logical link. |
static LogicalLink |
createLogicalLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)Creates a stand-alone logical link. |
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)Creates a stand-alone logical link. |
static LogicalNetLink |
createLogicalNetLink(long id, int level, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)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, java.util.Map<java.lang.String,java.lang.Object> userData)Creates a logical link with reference to its start and end node objects. |
static LogicalNetLink |
createLogicalNetLink(long id, LogicalNetNode startNode, LogicalNetNode endNode, double cost, boolean isBidirected, boolean isActive, LODUserDataIO udio)Creates a logical link with reference to its start and end node objects. |
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)Creates a logical link with reference to its start and end node objects. |
static LogicalNetNode |
createLogicalNetNode(long id, double cost, boolean isActive, LODUserDataIO udio)Creates a logical node to which we can add reference to incident links. |
static LogicalNetNode |
createLogicalNetNode(long id, double cost, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)Creates a logical node to which we can add reference to incident links. |
static LogicalNode |
createLogicalNode(long id, double cost, boolean isActive, LODUserDataIO udio)Creates a stand-alone logical node. |
static LogicalNode |
createLogicalNode(long id, double cost, boolean isActive, java.util.Map<java.lang.String,java.lang.Object> userData)Creates a stand-alone logical node. |
static LogicalPartition |
createLogicalPartition(java.lang.String networkName, int partitionId)Creates an empty logical partition. |
static LogicalPartition |
createLogicalPartition(java.lang.String networkName, int partitionId, int numInternalNodes, int numExternalNodes, int numInternalLinks, int numBoundaryLinks)Creates an empty logical partition. |
static LogicalPath |
createLogicalPath(long[] linkIds, long[] nodeIds, double cost, LODUserDataIO udio)Creates a light-weight 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 cost, java.util.Map<java.lang.String,java.lang.Object> userData)Creates a light-weight logical path, which contains only the IDs of the links and the nodes on the path, instead of the link and node objects. |
static LogicalSubPath |
createLogicalSubPath(LogicalPath refPath, int startLinkIndex, double startPercentage, int endLinkIndex, double endPercentage, double cost, LODUserDataIO udio)Creates a logical sub-path. |
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)Creates a logical sub-path. |
static SpatialBasicNetwork |
createSpatialBasicNetwork(java.lang.String networkName)Creates an empty spatial network. |
static SpatialBasicNetwork |
createSpatialBasicNetwork(java.lang.String networkName, int numNodes, int numLinks)Creates an empty spatial network. |
static SpatialHeavyPath |
createSpatialHeavyPath(SpatialLink[] links, SpatialNode[] nodes, JGeometry geometry, LODUserDataIO udio)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, LODUserDataIO udio)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, java.util.Map<java.lang.String,java.lang.Object> userData)Creates a stand-alone spatial link. |
static SpatialLink |
createSpatialLink(long id, long startNodeId, long endNodeId, double cost, boolean isBidirected, boolean isActive, JGeometry geometry, LODUserDataIO udio)Creates a stand-alone spatial link. |
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)Creates a stand-alone spatial link. |
static SpatialNetLink |
createSpatialNetLink(long id, int level, 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, int level, 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 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 SpatialNode |
createSpatialNode(long id, double cost, boolean isActive, JGeometry geometry, LODUserDataIO udio)Creates a stand-alone spatial node. |
static SpatialNode |
createSpatialNode(long id, double cost, boolean isActive, JGeometry geometry, java.util.Map<java.lang.String,java.lang.Object> userData)Creates a stand-alone spatial node. |
static SpatialPartition |
createSpatialPartition(java.lang.String networkName, int partitionId)Creates an empty spatial partition. |
static SpatialPartition |
createSpatialPartition(java.lang.String networkName, int partitionId, int numInternalNodes, int numExternalNodes, int numInternalLinks, int numBoundaryLinks)Creates an empty spatial partition. |
static SpatialPath |
createSpatialPath(long[] linkIds, long[] nodeIds, double cost, JGeometry geometry, LODUserDataIO udio)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 SpatialSubPath |
createSpatialSubPath(SpatialPath referencePath, int startLinkIndex, int endLinkIndex, double startPercentage, double endPercentage, double cost, JGeometry geometry, LODUserDataIO udio)Creates a spatial sub-path. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LogicalBasicNetwork createLogicalBasicNetwork(java.lang.String networkName)
networkName - network name
public static LogicalBasicNetwork createLogicalBasicNetwork(java.lang.String networkName,
int numNodes,
int numLinks)
networkName - network namenumNodes - estimated number of nodesnumLinks - estimated number of links
public static LogicalPartition createLogicalPartition(java.lang.String networkName,
int partitionId)
networkName - network namepartitionId - partition ID
public static LogicalPartition createLogicalPartition(java.lang.String networkName,
int partitionId,
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 links
public 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 implementation
public 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 pairs
public 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 implementation
public 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 pairs
public 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 implementation
public 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 pairs
public 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 implementation
public 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 pairs
public 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 implementation
public 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 pairs
public 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 implementation
public 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 pairs
public static LogicalPath createLogicalPath(long[] linkIds,
long[] nodeIds,
double cost,
LODUserDataIO udio)
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.udio - user data IO implementation
public static LogicalPath createLogicalPath(long[] linkIds,
long[] nodeIds,
double cost,
java.util.Map<java.lang.String,java.lang.Object> userData)
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 pairs
public static LogicalHeavyPath createLogicalHeavyPath(LogicalLink[] links,
LogicalNode[] nodes,
LODUserDataIO udio)
links - links on the pathnodes - nodes on the pathudio - user data IO implementation
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 pairs
public static LogicalSubPath createLogicalSubPath(LogicalPath refPath,
int startLinkIndex,
double startPercentage,
int endLinkIndex,
double endPercentage,
double cost,
LODUserDataIO udio)
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 costudio - user data IO implementation
public 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 SpatialBasicNetwork createSpatialBasicNetwork(java.lang.String networkName)
networkName - network name
public static SpatialBasicNetwork createSpatialBasicNetwork(java.lang.String networkName,
int numNodes,
int numLinks)
networkName - network namenumNodes - estimated number of nodesnumLinks - estimated number of links
public static SpatialPartition createSpatialPartition(java.lang.String networkName,
int partitionId)
networkName - network namepartitionId - partition ID
public static SpatialPartition createSpatialPartition(java.lang.String networkName,
int partitionId,
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 links
public 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 implementation
public 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 pairs
public 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 implementation
public 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 implementation
public 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 pair
public 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 pair
public 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 implementation
public 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 implementation
public 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
public 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
public static SpatialPath createSpatialPath(long[] linkIds,
long[] nodeIds,
double cost,
JGeometry geometry,
LODUserDataIO udio)
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.udio - user data IO implementation
public static SpatialSubPath createSpatialSubPath(SpatialPath referencePath,
int startLinkIndex,
int endLinkIndex,
double startPercentage,
double endPercentage,
double cost,
JGeometry geometry,
LODUserDataIO udio)
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 linkcost - sub-path costudio - user data IO implementation
public static SpatialHeavyPath createSpatialHeavyPath(SpatialLink[] links,
SpatialNode[] nodes,
JGeometry geometry,
LODUserDataIO udio)
links - links on the pathnodes - nodes on the pathudio - user data IO implementation
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||