summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-04-22 01:08:14 -0500
committerToby Vincent <tobyv13@gmail.com>2021-04-22 01:08:14 -0500
commit9524e96711b9a01868717395f6a040373f5678f5 (patch)
treefc91987b0e40bb9ff9ee2336182c4dfa00e74d7b
parent758dd90929bf14a16f66f616837475ce89bdfcfe (diff)
added more generics
-rw-r--r--GraphExtensions.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/GraphExtensions.cs b/GraphExtensions.cs
index e27e8f9..216b542 100644
--- a/GraphExtensions.cs
+++ b/GraphExtensions.cs
@@ -5,9 +5,9 @@ using PriorityQueue;
namespace Extensions
{
// Aliases
- using Graph = Graph<double>;
- using Queue = PriorityQueue<Vertex<double>, double>;
- using Vertex = Vertex<double>;
+ using Graph = Graph<Vertex<Edge<double>, double>, Edge<double>, double>;
+ using Queue = PriorityQueue<Vertex<Edge<double>, double>, double>;
+ using Vertex = Vertex<Edge<double>, double>;
public static class GraphExtensions
{