We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 105948c commit 9f19839Copy full SHA for 9f19839
src/Complete.php
@@ -4,14 +4,29 @@
4
5
use Fhaculty\Graph\Graph;
6
7
+/**
8
+ * Basic algorithms for working with complete graphs
9
+ *
10
+ * A complete graph is a graph in which every pair of vertices is connected
11
+ * by an edge.
12
13
+ * @link http://en.wikipedia.org/wiki/Complete_graph
14
+ * @link http://mathworld.wolfram.com/CompleteGraph.html
15
+ */
16
class Complete extends Base
17
{
18
/**
19
+ * Graph to operate on
20
*
21
* @var Graph
22
*/
23
private $graph;
24
25
+ /**
26
+ * instantiate new complete algorithm
27
28
+ * @param Graph $graph
29
30
public function __construct(Graph $graph)
31
32
$this->graph = $graph;
0 commit comments