validate
Class DistanceValidater

java.lang.Object
  extended by validate.DistanceValidater

public class DistanceValidater
extends java.lang.Object

Class for verifying qualitative distance constraints.


Constructor Summary
DistanceValidater()
           
 
Method Summary
static void checkConstraints(MapImporter importer, Map map, java.util.ArrayList<Constraint> constraints)
          Checks the distance constraints from the specified set of constraints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceValidater

public DistanceValidater()
Method Detail

checkConstraints

public static void checkConstraints(MapImporter importer,
                                    Map map,
                                    java.util.ArrayList<Constraint> constraints)
Checks the distance constraints from the specified set of constraints. Also, if a distance relation does not exist bewteen two constrained objects, then a new relation is constructed.

Parameters:
importer - - the map loaded
map - - the map to verify
constraints - - the constraints to check