Skip to content

Commit ee2470d

Browse files
authored
Merge pull request #41 from clue-labs/deps
Update to graphp/graph
2 parents fb5beb5 + ff96a92 commit ee2470d

File tree

80 files changed

+419
-421
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+419
-421
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"require": {
1414
"php": ">=5.3",
15-
"clue/graph": "~0.9.0|~0.8.0"
15+
"graphp/graph": "dev-master#fb198e4 as 1.0.0"
1616
},
1717
"require-dev": {
1818
"phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35"

src/BaseDual.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Graph;
6-
use Fhaculty\Graph\Set\DualAggregate;
7-
use Fhaculty\Graph\Walk;
5+
use Graphp\Graph\Graph;
6+
use Graphp\Graph\Set\DualAggregate;
7+
use Graphp\Graph\Walk;
88

99
/**
1010
* Abstract base class for algorithms that operate on a given Set instance

src/BaseGraph.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Graph;
5+
use Graphp\Graph\Graph;
66

77
/**
88
* Abstract base class for algorithms that operate on a given Graph instance

src/BaseVertex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Vertex;
5+
use Graphp\Graph\Vertex;
66

77
/**
88
* Abstract base class for algorithms that operate on a given Vertex instance

src/Bipartit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Exception\UnexpectedValueException;
6-
use Fhaculty\Graph\Graph;
5+
use Graphp\Graph\Exception\UnexpectedValueException;
6+
use Graphp\Graph\Graph;
77

88
class Bipartit extends BaseGraph
99
{

src/ConnectedComponents.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Exception\InvalidArgumentException;
6-
use Fhaculty\Graph\Exception\UnderflowException;
7-
use Fhaculty\Graph\Graph;
8-
use Fhaculty\Graph\Vertex;
95
use Graphp\Algorithms\Search\BreadthFirst as SearchBreadthFirst;
6+
use Graphp\Graph\Exception\InvalidArgumentException;
7+
use Graphp\Graph\Exception\UnderflowException;
8+
use Graphp\Graph\Graph;
9+
use Graphp\Graph\Vertex;
1010

1111
/**
1212
* Algorithm for working with connected components

src/Degree.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Exception\UnderflowException;
6-
use Fhaculty\Graph\Exception\UnexpectedValueException;
7-
use Fhaculty\Graph\Vertex;
5+
use Graphp\Graph\Exception\UnderflowException;
6+
use Graphp\Graph\Exception\UnexpectedValueException;
7+
use Graphp\Graph\Vertex;
88

99
/**
1010
* Basic algorithms for working with the degrees of Graphs.

src/DetectNegativeCycle.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Exception\NegativeCycleException;
6-
use Fhaculty\Graph\Exception\UnderflowException;
7-
use Fhaculty\Graph\Graph;
8-
use Fhaculty\Graph\Walk;
95
use Graphp\Algorithms\ShortestPath\MooreBellmanFord as SpMooreBellmanFord;
6+
use Graphp\Graph\Exception\NegativeCycleException;
7+
use Graphp\Graph\Exception\UnderflowException;
8+
use Graphp\Graph\Graph;
9+
use Graphp\Graph\Walk;
1010

1111
class DetectNegativeCycle extends BaseGraph
1212
{

src/Directed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Edge\Directed as EdgeDirected;
6-
use Fhaculty\Graph\Edge\Undirected as EdgeUndirected;
5+
use Graphp\Graph\EdgeDirected;
6+
use Graphp\Graph\EdgeUndirected;
77

88
/**
99
* Basic algorithms for working with the undirected or directed Graphs (digraphs) / Walks.

src/Flow.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Edge\Directed as EdgeDirected;
6-
use Fhaculty\Graph\Exception\UnexpectedValueException;
7-
use Fhaculty\Graph\Vertex;
5+
use Graphp\Graph\EdgeDirected;
6+
use Graphp\Graph\Exception\UnexpectedValueException;
7+
use Graphp\Graph\Vertex;
88

99
/**
1010
* Basic algorithms for working with flow graphs

0 commit comments

Comments
 (0)