|
My Project
|
expand_seed function declaration More...
#include <algorithm>#include <set>#include <vector>#include <utility>#include "graph.h"#include "seed.h"#include "density.h"Go to the source code of this file.
Functions | |
| std::pair< std::vector< seed > *, double > | expand_seed (seed S) |
| Adds neighbors of seed to increase density. | |
expand_seed function declaration
| std::pair<std::vector<seed>*, double> expand_seed | ( | seed | S | ) |
Adds neighbors of seed to increase density.
The pair returned is a vector of all disjoint subgraphs within a modified seed S (one step of addition and removal) and a number representing how closely connected the modified seed is.
NOTE: seed S doesn't actually change as it is passed by value.
| S | Set of vertices to expand |
Explicitly copy S so we can change S without changing anything in the caller.
| S | Set of vertices to expand |
1.7.6.1