From a736d6836b6c151e550a48ae97157b70dc16862d Mon Sep 17 00:00:00 2001
From: TonyLo1 <tony_lofthouse@btinternet.com>
Date: Thu, 30 Jul 2015 17:43:41 +0100
Subject: [PATCH] isConceptActive() discussion added

---
 ALANNTest/Program.fs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ALANNTest/Program.fs b/ALANNTest/Program.fs
index b8b150c..b05109d 100644
--- a/ALANNTest/Program.fs
+++ b/ALANNTest/Program.fs
@@ -77,11 +77,14 @@ let main argv =
     // Function to test if 'another' concept is active
     // This is a synchronous message send which waits for a response, with a timeout
     // This is a quick and dirty approach to show the concept
-    // The function returns wether or not the target concept is active
+    // The function returns whether or not the target concept is active.
     // Because activation is a momentary moment it uses a time window
     // as a range. This is not calibrated.
     // The functions returns true if it was active within the time window
     // Timeouts are not currently handled
+    // ** There should be a way of doing this with the spikes as they will 
+    // ** have been sent to this concept if the dst had spiked.
+    // ** need to identify the intersection of the spikes with the beliefs
     let isConceptActive term =
         let ACTIVATION_WINDOW = 1000L // ticks
         let lastActivatedAsync = getConceptFromTerm term <? LastActivated
-- 
GitLab