Change PlanCalcRuntime class to receive IntentOperationList

Change-Id: I66733294f1fd0ef46886f1d8db5e777662bba480
diff --git a/src/main/java/net/onrc/onos/intent/runtime/PlanCalcRuntime.java b/src/main/java/net/onrc/onos/intent/runtime/PlanCalcRuntime.java
index b01bfbc..4582021 100644
--- a/src/main/java/net/onrc/onos/intent/runtime/PlanCalcRuntime.java
+++ b/src/main/java/net/onrc/onos/intent/runtime/PlanCalcRuntime.java
@@ -12,6 +12,7 @@
 import net.floodlightcontroller.util.MACAddress;
 import net.onrc.onos.intent.FlowEntry;
 import net.onrc.onos.intent.Intent;
+import net.onrc.onos.intent.IntentOperationList;
 import net.onrc.onos.intent.PathIntent;
 import net.onrc.onos.intent.PathIntentMap;
 import net.onrc.onos.intent.ShortestPathIntent;
@@ -36,10 +37,11 @@
 		this.graph = graph;
 		this.flowEntries = new HashSet<>();
 		this.plan = new ArrayList<>();
+		this.intents = new PathIntentMap(this.graph);
 	}
 	
-	public void addIntents(PathIntentMap intents) {
-		this.intents = intents;
+	public void addIntents(IntentOperationList intentOpList) {
+		intents.executeOperations(intentOpList);
 		computeFlowEntries();
 		constructPlan();
 	}