int GetState()
Get neuron state.
void SetOutput(bool b)
Set neuron output.
bool GetOutput()
Get neuron output.
Neuron in a Hopfield network.
int m_nState
Neuron state.
unsigned int UINT
Abbreviation for unsigned integer.
CNeuron(CVertex *p0, CVertex *p1, UINT index)
Constructor.
void SetState(int n)
Get neuron state.
bool IsStable()
Stability test.
CNeuralNet(UINT n, int seed)
Constructor.
Header for the graph CGraph and its vertices CVertex and edges CEdge.
Header for the pseudo-random number generator CRandom.
void InsertNeuron(UINT i, UINT j)
Insert a neuron.
int m_bOutput
Neuron output.
int m_nOldState
Old neuron state.