Alphabetize namespace dependencies
This commit is contained in:
parent
07956a0eca
commit
11a2534f67
@ -1,9 +1,9 @@
|
|||||||
(ns propeller.core
|
(ns propeller.core
|
||||||
(:gen-class)
|
(:gen-class)
|
||||||
(:require [propeller.gp :as gp]
|
(:require [propeller.gp :as gp]
|
||||||
[propeller.push.core :as push]
|
|
||||||
[propeller.problems.simple-regression :as regression]
|
[propeller.problems.simple-regression :as regression]
|
||||||
[propeller.problems.string-classification :as string-classif]))
|
[propeller.problems.string-classification :as string-classif]
|
||||||
|
[propeller.push.core :as push]))
|
||||||
|
|
||||||
(defn -main
|
(defn -main
|
||||||
"Runs propel-gp, giving it a map of arguments."
|
"Runs propel-gp, giving it a map of arguments."
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
"Pushes item(s) onto stack."
|
"Pushes item(s) onto stack."
|
||||||
[state stack items]
|
[state stack items]
|
||||||
(let [items-list (if (coll? items) items (list items))
|
(let [items-list (if (coll? items) items (list items))
|
||||||
items-list-no-nil (filter #(not (nil? %)) items-list)] ; do not push nil items
|
items-list-no-nil (filter #(not (nil? %)) items-list)]
|
||||||
(update state stack into items-list-no-nil)))
|
(update state stack into items-list-no-nil)))
|
||||||
|
|
||||||
(defn get-args-from-stacks
|
(defn get-args-from-stacks
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
[propeller.gp :as gp]
|
[propeller.gp :as gp]
|
||||||
[propeller.selection :as selection]
|
[propeller.selection :as selection]
|
||||||
[propeller.variation :as variation]
|
[propeller.variation :as variation]
|
||||||
[propeller.push.core :as push]
|
|
||||||
[propeller.interpreter :as interpreter]
|
|
||||||
[propeller.state :as state]
|
|
||||||
[propeller.problems.simple-regression :as regression]
|
[propeller.problems.simple-regression :as regression]
|
||||||
[propeller.problems.string-classification :as string-classif]))
|
[propeller.problems.string-classification :as string-classif]
|
||||||
|
[propeller.push.core :as push]
|
||||||
|
[propeller.push.interpreter :as interpreter]
|
||||||
|
[propeller.push.state :as state]))
|
||||||
|
|
||||||
#_(interpreter/interpret-program
|
#_(interpreter/interpret-program
|
||||||
'(1 2 integer_add) state/empty-state 1000)
|
'(1 2 integer_add) state/empty-state 1000)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user