Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


oracle.spatial.network
Interface NetworkConstraint

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Implementing Classes:
SystemConstraint

public interface NetworkConstraint
extends java.lang.Cloneable, java.io.Serializable

This interface defines a general network constraint for network analysis. A network constraint at the node level means that only the current node and the currrent link are considered. A network constraint at the path level means that some or all path information is considered during the search. Note the constraint is checked during the search and implemented by the users.


Method Summary
 boolean isSatisfied(AnalysisInfo info)
          Checks if the constraint is satisfied.
 boolean requiresPathLinks()
          Returns true if the constraint requires some or all path information.

 

Method Detail

requiresPathLinks

boolean requiresPathLinks()
Returns true if the constraint requires some or all path information.

isSatisfied

boolean isSatisfied(AnalysisInfo info)
Checks if the constraint is satisfied.
Parameters:
info - the analysis information for the network constraint
See Also:
AnalysisInfo

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 1 (11.1)

B28401-02


Copyright © 2007, 2008, Oracle. All Rights Reserved.