|
@@ -1,12 +1,10 @@
|
|
|
class Synapse(object):
|
|
|
"""
|
|
|
+ This Class is representing a Synapse with its name, and a dict of Neurons and a dict of signals
|
|
|
|
|
|
- This Class is representing a Synapse with its name, and a dict of Neurons and a dict of signals
|
|
|
-
|
|
|
- .. note:: must be defined in the brain.yml
|
|
|
+ .. note:: must be defined in the brain.yml
|
|
|
"""
|
|
|
|
|
|
-
|
|
|
def __init__(self, name=None, neurons=None, signals=None):
|
|
|
self.name = name
|
|
|
self.neurons = neurons
|
|
@@ -14,7 +12,6 @@ class Synapse(object):
|
|
|
|
|
|
def serialize(self):
|
|
|
"""
|
|
|
-
|
|
|
This method allows to serialize in a proper way this object
|
|
|
|
|
|
:return: A dict of name, neurons, signals
|