All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.constraints.extra.ReversibleAction Maven / Gradle / Ivy

Go to download

JCP Standard JSR331 “Java Constraint Programming API”. It is used for Modeling and Solving Constraint Satisfaction and Optimization Problems using Java and off-the-shelf Constraint/Linear Solvers

The newest version!
//=============================================
// J A V A  C O M M U N I T Y  P R O C E S S
// 
// J S R  3 3 1
// 
// Specification
// 
//=============================================
package javax.constraints.extra;

/**
 * This interface represents application-specific actions that
 * can be added during the search and executed during backtracking.
 * For example, an application may draw a square during the search and
 * erase it (a reversible action) during backtracking.
 *
 */

public interface ReversibleAction {
	
	public boolean execute() throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy