001    package aima.search.demos;
002    
003    import aima.search.csp.CSP;
004    import aima.search.csp.MapCSP;
005    
006    /**
007     * @author Ravi Mohan
008     * 
009     */
010    
011    public class CSPDemo {
012            public static void main(String[] args) {
013                    CSP csp = MapCSP.getMap();
014                    System.out.println("Map Coloring - Backtracking ");
015                    System.out.println(csp.backTrackingSearch());
016                    System.out.println("Map Coloring - Minimum Conflicts ");
017                    System.out.println(csp.mcSearch(100));
018            }
019    }