struct fann * fann_create(float connection_rate, float learning_rate, unsigned int num_layers, unsigned int ...);
fann_create
will create a new artificial neural network, and return
a pointer to it. The connection_rate controls how many
connections there will be in the network. If the connection rate is set to 1, the
network will be fully connected, but if it is set to 0.5 only half of the connections
will be set.
The num_layers is the number of layers including the input and output layer. This parameter is followed by one parameter for each layer telling how many neurons there should be in the layer.
This function appears in FANN >= 1.0.0.