werkende main voor candylearner
[tt2015.git] / a4 / code / src / learner / Main.java
index 160b34e..9b3718a 100644 (file)
@@ -54,15 +54,20 @@ public class Main {
        //*****************//
        // Defines the input alphabet, adapt for your socket (you can even use other types than string, if you 
        // change the generic-values, e.g. make your SUL of type SUL<Integer, Float> for int-input and float-output
-       private static final Alphabet<String> inputAlphabet = new SimpleAlphabet<String>(ImmutableSet.of("a", "b", "c"));       
+       private static final Alphabet<String> inputAlphabet =
+               new SimpleAlphabet<String>(ImmutableSet.of(
+                                       "IREFUND", "IBUTTONMARS", "IBUTTONSNICKERS",
+                                       "IBUTTONBOUNTY", "ICOIN10", "ICOIN5")); 
        // There are two SULs predefined, an example (see ExampleSul.java) and a socket SUL which connects to the SUL over socket
-       private static final SULType sulType = SULType.Example;
+       private static final SULType sulType = SULType.Socket;
        public enum SULType { Example, Socket }
        // For SULs over socket, the socket address/port can be set here
        private static final InetAddress socketIp = InetAddress.getLoopbackAddress();
-       private static final int socketPort = 7890;
+//     private static final int socketPort = 7890;
+       private static final int socketPort = 7892;
        private static final boolean printNewLineAfterEveryInput = true; // print newlines in the socket connection
-       private static final String resetCmd = "RESET"; // the command to send over socket to reset sut
+//     private static final String resetCmd = "RESET"; // the command to send over socket to reset sut
+       private static final String resetCmd = "reset"; // the command to send over socket to reset sut
        
        //*******************//
        // Learning settings //