aboutsummaryrefslogtreecommitdiff
path: root/Week6/src/Configuration.java
blob: 7264c5fc681c472c051b1bcfda0a7c6707d532ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import java.util.Collection;


/**
 * An interface for representing nodes in a state space.
 * 
 * @author Sjaak Smetsers
 * @version 1.2
 * @date 28-02-2015
 */
public interface Configuration extends Comparable<Configuration> {
    /*
     * To obtain the successors for a specific configuration
     * @return a collection of configurations containing the successors
     */
	public Collection<Configuration> successors ();
    /*
     * For marking final / solution configurations.
     */
	public boolean isSolution ();
}