Commit 7a57faa7 authored by Xiaoying Pu's avatar Xiaoying Pu

lovely parser

parent 864ebdbf
......@@ -19,12 +19,22 @@
<group>
<file>file:/Users/pxy/dm_task/src/digit/model/SecondaryTaskModel.java</file>
<file>file:/Users/pxy/dm_task/src/util/Trial.java</file>
<file>file:/Users/pxy/dm_task/src/util/UDPConstants.java</file>
<file>file:/Users/pxy/dm_task/src/digit/view/DMView.java</file>
<file>file:/Users/pxy/dm_task/src/util/config.properties</file>
<file>file:/Users/pxy/dm_task/src/util/ActionType.java</file>
<file>file:/Users/pxy/dm_task/src/tracker/Decision.java</file>
</group>
......
......@@ -5,9 +5,9 @@
(def science "Science, Physics, Chemistry, Math, Geology, Astronomy, Engineering")
(defn parse
[string]
[s]
(let
[splited (clojure.string/split male #", ")]
[splited (clojure.string/split s #", ")]
(apply str (interpose
"|"
(for [token splited]
......
......@@ -13,3 +13,6 @@ tDecisions = 10000
nTrials = 3
# x HWL, x LWL
workloadinterleavef = 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment