Ejemplo n.º 1
0
 public NetworkComputationResultEventArgs(IMultiNetworkComputationResult result, bool expectedYes)
 {
     Result = result;
     ExpectedYes = expectedYes;
 }
Ejemplo n.º 2
0
 public static bool WasSuccessed(IMultiNetworkComputationResult result, double threshold, bool expectedYes)
 {
     bool right = (result.Result[0] - result.Result[1] > threshold) ^ !expectedYes;
     return right;
 }