From 4390e7fd85739264f96f37fe3cd18f9a2d343a21 Mon Sep 17 00:00:00 2001
From: Alexander Diewald <diewald@fortiss.org>
Date: Thu, 23 Feb 2017 13:55:55 +0000
Subject: [PATCH] - Disable the check that the failure rate is set. - Add a
 check for the selected deployment targets vs. the ComponentAllocations for
 the Virtual Link generation.

---
 .../alg/dse/sysmodel/arch/af3/AF3SystemModelAdapter.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/org.fortiss.af3.exploration.alg/trunk/src/org/fortiss/af3/exploration/alg/dse/sysmodel/arch/af3/AF3SystemModelAdapter.java b/org.fortiss.af3.exploration.alg/trunk/src/org/fortiss/af3/exploration/alg/dse/sysmodel/arch/af3/AF3SystemModelAdapter.java
index b7e5a03d..574e3f0f 100644
--- a/org.fortiss.af3.exploration.alg/trunk/src/org/fortiss/af3/exploration/alg/dse/sysmodel/arch/af3/AF3SystemModelAdapter.java
+++ b/org.fortiss.af3.exploration.alg/trunk/src/org/fortiss/af3/exploration/alg/dse/sysmodel/arch/af3/AF3SystemModelAdapter.java
@@ -604,10 +604,10 @@ public class AF3SystemModelAdapter
 
 		for(ExecutionUnit execUnit : targetExecutionUnits) {
 			Double failureProb = resourceFailureProbabilies.get(execUnit);
-			if(failureProb == null) {
-				throw new Exception("The failure probablity for the target execution unit " +
-						execUnit.getName() + " has not been defined.");
-			}
+			// if(failureProb == null) {
+			// throw new Exception("The failure probablity for the target execution unit " +
+			// execUnit.getName() + " has not been defined.");
+			// }
 
 			Double power = resourcePowerConsumption.get(execUnit);
 			if(power == null) {
-- 
GitLab