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 *******************************************************************************/
9 package it.polito.verigraph.mcnet.components;
11 import com.microsoft.z3.BoolExpr;
12 import com.microsoft.z3.Context;
13 import com.microsoft.z3.Expr;
14 import com.microsoft.z3.Model;
15 import com.microsoft.z3.Status;
17 import it.polito.verigraph.mcnet.components.NetContext;
20 * Data structure for the response to check requests for isolation properties
23 public class IsolationResult {
26 public NetContext nctx;
29 public Expr violating_packet,last_hop,last_send_time,last_recv_time,t_1;
30 public BoolExpr [] assertions;
32 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){
35 this.violating_packet = violating_packet;
36 this.last_hop = last_hop;
38 this.last_send_time = last_send_time;
39 this.last_recv_time = last_recv_time;
40 this.assertions = assertions;