nl.uu.cs.ape.automaton.StateInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of APE Show documentation
Show all versions of APE Show documentation
APE is a command line tool and an API for the automated exploration of possible computational pipelines (workflows) from large collections of computational tools.
package nl.uu.cs.ape.automaton;
/**
* The {@code PredicateLabel} class is used to represent a label that describes
* predicates, such as data types, operations or states in the system.
*
* @author Vedran Kasalica
*/
public interface StateInterface {
/**
* Get string that corresponds to the predicate ID.
*
* @return String identifying the predicate.
*/
public String getPredicateID();
/**
* By default variable states have no absolute state number.
*
* @return If absolute number is not defined, return {@code -1}.
*/
public default int getAbsoluteStateNumber() {
return -1;
}
@Override
public int hashCode();
@Override
public boolean equals(Object obj);
}