edu.mit.ll.group43.surfaceoptimization.validator
Class NoRepeatedAircraftValidator

java.lang.Object
  extended by edu.mit.ll.group43.surfaceoptimization.validator.NoRepeatedAircraftValidator
All Implemented Interfaces:
Validator

public class NoRepeatedAircraftValidator
extends java.lang.Object
implements Validator


Constructor Summary
NoRepeatedAircraftValidator()
           
 
Method Summary
 boolean validate(java.util.ArrayList<Aircraft> seq)
          Validates that the given sequence obeys the constraint of this Validator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoRepeatedAircraftValidator

public NoRepeatedAircraftValidator()
Method Detail

validate

public boolean validate(java.util.ArrayList<Aircraft> seq)
Description copied from interface: Validator
Validates that the given sequence obeys the constraint of this Validator.

Specified by:
validate in interface Validator
Parameters:
seq - Sequence to be validated
Returns:
True if the sequence is valid, false otherwise