removing true nodes from the OrderGraph
[satune.git] / src / Backend / orderpair.c
index 2290b36dd6bd47fb34b828c0351ff6d1cca141fd..9501af5dcc437f232c686395765e4be271a2820c 100644 (file)
@@ -1,12 +1,14 @@
 #include "orderpair.h"
 
 
-OrderPair* allocOrderPair(uint64_t first, uint64_t second){
-       OrderPair* pair = (OrderPair*) ourmalloc(sizeof(OrderPair));
+OrderPair *allocOrderPair(uint64_t first, uint64_t second, Edge constraint) {
+       OrderPair *pair = (OrderPair *) ourmalloc(sizeof(OrderPair));
        pair->first = first;
        pair->second = second;
+       pair->constraint = constraint;
        return pair;
 }
-void deleteOrderPair(OrderPair* pair){
+
+void deleteOrderPair(OrderPair *pair) {
        ourfree(pair);
-}
\ No newline at end of file
+}