Package ptolemy.domains.tester.lib
Interface Testable
-
- All Known Implementing Classes:
CollectLatticeOntologySolverDetails
,DeltaConstraintSolver
,LatticeOntologySolver
,OntologySolver
,ProductLatticeOntologySolver
public interface Testable
Interface for attributes that implement tests.- Since:
- Ptolemy II 8.0
- Version:
- $Id$
- Author:
- Christopher Brooks, Dai Bui, Edward A. Lee, Ben Lickly
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
test()
Run a test and throw an exception if it fails.void
train()
Train the test.
-
-
-
Method Detail
-
test
void test() throws IllegalActionException
Run a test and throw an exception if it fails.- Throws:
IllegalActionException
- If the test fails.
-
train
void train() throws IllegalActionException
Train the test. This method should record the the correct values for the test.- Throws:
IllegalActionException
- If training fails.
-
-