1 /*******************************************************************************
2 * Copyright (c) 2017 Politecnico di Torino and others.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Apache License, Version 2.0
6 * which accompanies this distribution, and is available at
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *******************************************************************************/
10 package mcnet.components;
12 import com.microsoft.z3.BoolExpr;
13 import com.microsoft.z3.Context;
14 import com.microsoft.z3.Expr;
15 import com.microsoft.z3.Model;
16 import com.microsoft.z3.Status;
19 * Data structure for the response to check requests for isolation properties
22 public class IsolationResult {
25 public NetContext nctx;
28 public Expr violating_packet,last_hop,last_send_time,last_recv_time,t_1;
29 public BoolExpr [] assertions;
31 public IsolationResult(Context ctx,Status result, Expr violating_packet, Expr last_hop, Expr last_send_time, Expr last_recv_time,NetContext nctx, BoolExpr[] assertions, Model model){
34 this.violating_packet = violating_packet;
35 this.last_hop = last_hop;
37 this.last_send_time = last_send_time;
38 this.last_recv_time = last_recv_time;
39 this.assertions = assertions;