#include <neuron.h>
Inheritance diagram for BiNode:
Public Methods | |
void | addIncoming (Connection *conn) |
void | addOutgoing (Connection *conn) |
void | connectFrom (const BiNode &source) |
bool | connectedFrom (const BiNode &source) const |
void | disconnectFrom (const Connection &incoming) |
void | disconnectTo (const Connection &outgoing) |
void | disconnectFrom (const BiNode &source) |
void | disconnectTo (const BiNode &target) |
void | disconnectAll () |
int | incomings () const |
int | outgoings () const |
virtual void | copy (const BiNode &orig) |
virtual void | check (int netSize) const |
Definition at line 94 of file neuron.h.
|
Adds an incoming connection. It is assumed that the source of the connection is a valid neuron. |
|
Adds an outgoing connection. It is assumed that the target of the connection is a valid neuron. |
|
Implementation for Object.
Reimplemented in Neuron. Definition at line 203 of file neuron.cc. References Connection::check(), and incomings(). Referenced by Neuron::check(). |
|
Returns whether or net the neuron has an incoming connection from given neuron.
|
|
Adds a connection to the neuron from neuron with id s.
|
|
Standard copy operator.
Definition at line 74 of file neuron.cc. References mIncoming, and mOutgoing. Referenced by Neuron::copy(). |
|
Removes ALL incoming and outgoing connections to the neuron.
|
|
Disconnects any incoming connection from the given neuron.
|
|
Disconnects given incoming connection.
Definition at line 106 of file neuron.cc. References Connection::source(). |
|
Disconnects any outgoing connection to the given neuron.
|
|
Disconnects given outgoing connection.
|
|
Returns the number of incoming connections to the neuron.
Definition at line 149 of file neuron.h. Referenced by check(), ANNetwork::drawEPS(), Neuron::init(), and Neuron::transfer(). |
|
Returns the number of outgoing connections from the neuron.
|