sumitgpl / pyector

Automatically exported from code.google.com/p/pyector
0 stars 0 forks source link

Bad ConceptNetwork.propagationActivation() result #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
= What steps will reproduce the problem? =
1. Launch ConceptNetwork.py

= What is the expected output? What do you see instead? =
I except to see state(To1) > 0.
I still have to compute the exact result, but it should be strictly positive.

I see this:
----8<----
checkNodes
checkNodes
state(From): 0
checkNodes
state(From): 0
checkNodes
state(To1): 0
state(From): 100
checkNodes
state(<__main__.Node instance at 0x010215A8>): 0
state(To1): 0
state(From): 100
checkNodes
state(<__main__.Node instance at 0x010215A8>): 0
state(To1): 0
state(From): 100
checkNodes
state(<__main__.Node instance at 0x010215A8>): 0
state(To1): 0
state(From): 100
checkNodes
state(<__main__.Node instance at 0x010215A8>): 0
state(To1): 0
state(From): 100
0.0
----8<----

= Please use labels and text to provide additional information. =
It seems that there is a wrong type somewhere as 
state(<__main__.Node instance at 0x010215A8>): 0
appears on stdout. Normally, it is To1 that should be modified.

<__main__.Node instance at 0x010215A8> should be a string.

Original issue reported on code.google.com by francois.parmentier@gmail.com on 17 Oct 2008 at 11:29

GoogleCodeExporter commented 8 years ago

Original comment by francois.parmentier@gmail.com on 17 Oct 2008 at 11:34

GoogleCodeExporter commented 8 years ago
r15 fixed the issue.

Original comment by francois.parmentier@gmail.com on 17 Oct 2008 at 7:29

GoogleCodeExporter commented 8 years ago
r15 really fixed this issue. :P

Original comment by francois.parmentier@gmail.com on 25 Oct 2008 at 7:54