Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.engine
Class DefaultValidator

java.lang.Object
  extended byorg.evolvica.engine.DefaultValidator
All Implemented Interfaces:
IValidator

public class DefaultValidator
extends java.lang.Object
implements IValidator

A default algorithm validator.

Since:
0.6.0
Version:
$Revision: 1.3 $ $Date: 2004/05/26 11:58:22 $
Author:
Andreas Rummler

Constructor Summary
DefaultValidator()
           
 
Method Summary
 java.lang.String[] getValidationResult()
          Returns an array of strings containing messages that were generated during validation of an algorithm.
 boolean validate(IAlgorithm algorithm)
          Validates an algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultValidator

public DefaultValidator()
Method Detail

getValidationResult

public java.lang.String[] getValidationResult()
Description copied from interface: IValidator
Returns an array of strings containing messages that were generated during validation of an algorithm.

Specified by:
getValidationResult in interface IValidator
Returns:
array of messages
See Also:
IValidator.getValidationResult()

validate

public boolean validate(IAlgorithm algorithm)
Description copied from interface: IValidator
Validates an algorithm.

Specified by:
validate in interface IValidator
Parameters:
algorithm - algorithm to check for errors and inconsistencies.
Returns:
boolean true if the algorithm is valid, false instead
See Also:
IValidator.validate(org.evolvica.engine.IAlgorithm)

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems