Struct fann_sys::fann_connection [] [src]

pub struct fann_connection {
    pub from_neuron: c_uint,
    pub to_neuron: c_uint,
    pub weight: fann_type,
}

Describes a connection between two neurons and its weight.

See Also

fann_get_connection_array, fann_set_weight_array

This structure appears in FANN >= 2.1.0.

Fields

from_neuron: c_uint

Unique number used to identify source neuron

to_neuron: c_uint

Unique number used to identify destination neuron

weight: fann_type

The numerical value of the weight

Trait Implementations

impl PartialEq for fann_connection
[src]

fn eq(&self, __arg_0: &fann_connection) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &fann_connection) -> bool

This method tests for !=.

impl Debug for fann_connection
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for fann_connection
[src]

fn clone(&self) -> fann_connection

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for fann_connection
[src]