Add verigraph code base
[parser.git] / verigraph / service / src / 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
10 package mcnet.components;
11
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;
17
18 /**
19  * Data structure for the response to check requests for isolation properties
20  *
21  */
22 public class IsolationResult {
23
24         Context ctx;
25         public NetContext nctx;
26         public Status result;
27         public Model model;
28         public Expr violating_packet,last_hop,last_send_time,last_recv_time,t_1;
29         public BoolExpr [] assertions;
30
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){
32             this.ctx = ctx;
33             this.result = result;
34             this.violating_packet = violating_packet;
35             this.last_hop = last_hop;
36             this.model = model;
37             this.last_send_time = last_send_time;
38             this.last_recv_time = last_recv_time;
39             this.assertions = assertions;
40         }
41 }
42