CARLsim  6.1.0
CARLsim: a GPU-accelerated SNN simulator
ParameterInstances::ParameterInstancesImpl Struct Reference

Public Member Functions

 ParameterInstancesImpl (istream &inputStream)
 
vector< double > getInstance (const unsigned int instance) const
 
unsigned int getNumInstances () const
 
unsigned int getNumParameters () const
 
double getParameter (const unsigned int instance, const unsigned int parameter) const
 
void readCSV (istream &inputStream, vector< vector< double > > &instanceVectors)
 
vector< double > readCSVLine (const string &strLine)
 
bool repOK () const
 

Static Public Member Functions

static bool allRowsEqualLength (const vector< vector< double > > &instanceVectors)
 

Public Attributes

vector< vector< double > > instanceVectors
 

Detailed Description

Definition at line 20 of file ParameterInstances.cpp.

Constructor & Destructor Documentation

◆ ParameterInstancesImpl()

ParameterInstancesImpl ( istream &  inputStream)
inline

Definition at line 23 of file ParameterInstances.cpp.

Member Function Documentation

◆ allRowsEqualLength()

static bool allRowsEqualLength ( const vector< vector< double > > &  instanceVectors)
inlinestatic

Definition at line 49 of file ParameterInstances.cpp.

◆ getInstance()

vector<double> getInstance ( const unsigned int  instance) const
inline

Definition at line 59 of file ParameterInstances.cpp.

Here is the caller graph for this function:

◆ getNumInstances()

unsigned int getNumInstances ( ) const
inline

Definition at line 70 of file ParameterInstances.cpp.

Here is the caller graph for this function:

◆ getNumParameters()

unsigned int getNumParameters ( ) const
inline

Definition at line 74 of file ParameterInstances.cpp.

Here is the caller graph for this function:

◆ getParameter()

double getParameter ( const unsigned int  instance,
const unsigned int  parameter 
) const
inline

Definition at line 64 of file ParameterInstances.cpp.

Here is the caller graph for this function:

◆ readCSV()

void readCSV ( istream &  inputStream,
vector< vector< double > > &  instanceVectors 
)
inline

Definition at line 28 of file ParameterInstances.cpp.

◆ readCSVLine()

vector<double> readCSVLine ( const string &  strLine)
inline

Definition at line 36 of file ParameterInstances.cpp.

Here is the call graph for this function:

◆ repOK()

bool repOK ( ) const
inline

Definition at line 80 of file ParameterInstances.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ instanceVectors

vector< vector< double > > instanceVectors

Definition at line 21 of file ParameterInstances.cpp.


The documentation for this struct was generated from the following file: