Spike
|
Implements a factory pattern for neurons. This class will create a specific neuron, depending on the type of neuron given in an input file. More...
#include <NeuronFactory.h>
Static Public Member Functions | |
static std::unique_ptr< IF > | create (const std::string &input_file) |
Returns a neuron pointer. Depending on the type read from the input file, this function constructs the appropriate neuron. | |
Implements a factory pattern for neurons. This class will create a specific neuron, depending on the type of neuron given in an input file.
|
static |
Returns a neuron pointer. Depending on the type read from the input file, this function constructs the appropriate neuron.
input_file | Input file in .json format |