Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.engine
Interface IValidator

All Known Implementing Classes:
DefaultValidator

public interface IValidator

Interface for an algorithm validator. A validator performs checks to determine if an algorithm can be run safely.

Since:
0.4.0
Version:
$Revision: 1.6 $ $Date: 2004/05/26 11:58:25 $
Author:
Andreas Rummler

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.
 

Method Detail

validate

public boolean validate(IAlgorithm algorithm)
Validates an algorithm.

Parameters:
algorithm - algorithm to check for errors and inconsistencies.
Returns:
boolean true if the algorithm is valid, false instead

getValidationResult

public java.lang.String[] getValidationResult()
Returns an array of strings containing messages that were generated during validation of an algorithm.

Returns:
array of messages

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

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