Skip to content

Commit

Permalink
update core.clj
Browse files Browse the repository at this point in the history
  • Loading branch information
0xc1c4da committed Apr 1, 2016
1 parent 4c5c80f commit 09daf2d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/narjure/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@
[task-dispatcher :refer [task-dispatcher]]]
[narjure.general-inference
[active-concept-collator :refer [active-concept-collator]]
[derived-task-creator :refer [derived-task-creator]]
[general-inferencer :refer [general-inferencer]]]
[narjure.perception-action
[anticipated-event :refer [anticipated-event]]
[cross-modal-integrator :refer [cross-modal-integrator]]
[operator-executor :refer [operator-executor]]
[sentence-parser :refer [sentence-parser]]
[system-time :refer [system-time]]]
[system-time :refer [system-time]]
[task-creator :refer [task-creator]]]
[taoensso.timbre :refer [info set-level!]])
(:refer-clojure :exclude [promise await])
(:import (ch.qos.logback.classic Level)
Expand All @@ -29,32 +27,28 @@
;co.paralleluniverse.actors.JMXActorMonitor
(def actors-names
#{:active-concept-collator
:anticipated-event
:concept-creator
:cross-modal-integrator
:derived-task-creator
:forgettable-concept-collator
:general-inferencer
:operator-executor
:persistence-manager
:sentence-parser
:system-time
:task-creator
:task-dispatcher})

(defn create-system-actors
"Spawns all actors which self register!"
[]
(spawn active-concept-collator)
(spawn anticipated-event)
(spawn concept-creator)
(spawn cross-modal-integrator)
(spawn derived-task-creator)
(spawn forgettable-concept-collator)
(spawn general-inferencer)
(spawn operator-executor)
(spawn persistence-manager :state)
(spawn sentence-parser)
(spawn system-time)
(spawn task-creator)
(spawn task-dispatcher))

(defn check-actor [actor-name]
Expand Down

0 comments on commit 09daf2d

Please sign in to comment.