001    package aima.search.framework;
002    
003    /**
004     * @author Ravi Mohan
005     * 
006     */
007    
008    public class Successor {
009    
010            private String action;
011    
012            private Object state;
013    
014            public Successor(String action, Object state) {
015                    this.action = action;
016                    this.state = state;
017            }
018    
019            public String getAction() {
020                    return action;
021            }
022    
023            public Object getState() {
024                    return state;
025            }
026    }