OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
python.stop_go Namespace Reference

Functions

def stop_go
 

Variables

tuple atomspace = AtomSpace()
 
int green = 0
 
int red = 0
 
tuple satisfaction_handle
 
tuple result = satisfaction_link(atomspace, satisfaction_handle)
 

Function Documentation

def python.stop_go.stop_go (   atom)

Definition at line 45 of file stop_go.py.

Variable Documentation

tuple python.stop_go.atomspace = AtomSpace()

Definition at line 31 of file stop_go.py.

int python.stop_go.green = 0

Definition at line 42 of file stop_go.py.

int python.stop_go.red = 0

Definition at line 43 of file stop_go.py.

tuple python.stop_go.result = satisfaction_link(atomspace, satisfaction_handle)

Definition at line 99 of file stop_go.py.

tuple python.stop_go.satisfaction_handle
Initial value:
1 = SatisfactionLink(
2  SequentialAndLink(
3  EvaluationLink(
4  GroundedPredicateNode("py: stop_go"),
5  ListLink(
6  ConceptNode("green light")
7  )
8  ),
9  EvaluationLink(
10  GroundedPredicateNode("py: stop_go"),
11  ListLink(
12  ConceptNode("green light")
13  )
14  ),
15  EvaluationLink(
16  GroundedPredicateNode("py: stop_go"),
17  ListLink(
18  ConceptNode("red light")
19  )
20  ),
21  EvaluationLink(
22  GroundedPredicateNode("py: stop_go"),
23  ListLink(
24  ConceptNode("traffic ticket")
25  )
26  )
27  )
28 )

Definition at line 69 of file stop_go.py.