Template Function graspi::read_array¶
Defined in File graph_constructors.hpp
Function Documentation¶
-
template<typename
Container
>
boolgraspi
::
read_array
(const std::string &name, Container &M, dim_a_t &d_a, dim_g_t &d_g)¶ This is function to read the colors of vertex - when morphology is stored in the array
- Return
the status of the reading data from file
- Template Parameters
Container
: is the container to read the data from
- Parameters
name
: is the filename to read the data fromM
: is the container to store the read datad_a
: is the reference to the struct storing dimensions of the morphology represented as a arrayd_g
: is the reference to the struct storing the dimension of graph vertices