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;
19 /**Data structure for the response to a check request for data isolation property
22 public class DataIsolationResult {
25 public NetContext nctx;
28 public Expr violating_packet,last_hop,last_time,t_1;
29 public BoolExpr [] assertions;
31 public DataIsolationResult(Context ctx,Status result, Expr violating_packet, Expr last_hop, Expr last_time, NetContext nctx, BoolExpr[] assertions, Model model){
34 this.violating_packet = violating_packet;
35 this.last_hop = last_hop;
37 this.last_time = last_time;
38 this.assertions = assertions;