oracle.spatial.network
Class PartitionKmeansImpl
java.lang.Object
oracle.spatial.network.PartitionKmeansImpl
- All Implemented Interfaces:
- Partition
-
public class PartitionKmeansImpl
- extends java.lang.Object
- implements Partition
This class offers a database implementation of k-means algorithm that partition the spatial network.
Constructor Summary |
PartitionKmeansImpl(java.sql.Connection connection, java.lang.String networkName, int numPartition)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionKmeansImpl
public PartitionKmeansImpl(java.sql.Connection connection,
java.lang.String networkName,
int numPartition)
throws java.sql.SQLException,
NetworkDataException
- Constructor.
- Parameters:
connection
-
networkName
-
numPartition
-
- Throws:
java.sql.SQLException
NetworkDataException
getExternalCost
public double getExternalCost()
-
- Specified by:
getExternalCost
in interface Partition
partitionNetwork
public void partitionNetwork()
throws NetworkDataException
-
- Specified by:
partitionNetwork
in interface Partition
-
- Throws:
NetworkDataException
Copyright © 2006, Oracle. All Rights Reserved.