Hypercubic
This commit is contained in:
parent
ae4699176f
commit
bc769718d6
8 changed files with 238 additions and 75 deletions
|
|
@ -33,6 +33,11 @@ Contact: paradiseo-help@lists.gforge.inria.fr
|
|||
void paradiseo::smp::Complete::operator()(unsigned nbNode, std::vector<std::vector<bool>>& matrix) const
|
||||
{
|
||||
matrix.clear();
|
||||
|
||||
matrix.resize(nbNode);
|
||||
for(auto& line : matrix)
|
||||
line.resize(nbNode);
|
||||
|
||||
std::vector<bool> line;
|
||||
line.assign(nbNode,true);
|
||||
matrix.assign(nbNode, line);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue