Merge "Disable syslog in heat-translator for functest integration"
[parser.git] / verigraph / src / it / polito / verigraph / mcnet / components / IsolationResult.java
1 /*******************************************************************************
2  * Copyright (c) 2017 Politecnico di Torino and others.
3  *
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;
10
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;
16
17 import it.polito.verigraph.mcnet.components.NetContext;
18
19 /**
20  * Data structure for the response to check requests for isolation properties
21  *
22  */
23 public class IsolationResult {
24
25     Context ctx;
26     public NetContext nctx;
27     public Status result;
28     public Model model;
29     public Expr violating_packet,last_hop,last_send_time,last_recv_time,t_1;
30     public BoolExpr [] assertions;
31
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){
33         this.ctx = ctx;
34         this.result = result;
35         this.violating_packet = violating_packet;
36         this.last_hop = last_hop;
37         this.model = model;
38         this.last_send_time = last_send_time;
39         this.last_recv_time = last_recv_time;
40         this.assertions = assertions;
41     }
42 }