Line | |
---|
1 | /************************************************************************************ |
---|
2 | * Copyright (C) 2008 by Politehnica University of Bucharest and Rutgers University |
---|
3 | * All rights reserved. |
---|
4 | * Refer to LICENSE for terms and conditions of use. |
---|
5 | ***********************************************************************************/ |
---|
6 | package vnsim.vehicular.scenarios; |
---|
7 | |
---|
8 | |
---|
9 | import java.util.Vector; |
---|
10 | |
---|
11 | import vnsim.vehicular.simulator.Location; |
---|
12 | |
---|
13 | |
---|
14 | public class EntryExitScenario implements java.io.Serializable { |
---|
15 | |
---|
16 | /** <code>serialVersionUID</code> */ |
---|
17 | private static final long serialVersionUID = -5883719321862303634L; |
---|
18 | |
---|
19 | public Location entry; |
---|
20 | public Location exit; |
---|
21 | public int percentOfFlow; |
---|
22 | public Vector<Route> routes; |
---|
23 | public Vector<Integer> percentsEachRoute; |
---|
24 | |
---|
25 | |
---|
26 | public EntryExitScenario(Location entry,Location exit){ |
---|
27 | this.entry=entry; |
---|
28 | this.exit=exit; |
---|
29 | this.percentOfFlow=0; |
---|
30 | this.routes=new Vector<Route>(); |
---|
31 | this.percentsEachRoute=new Vector<Integer>(); |
---|
32 | } |
---|
33 | |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.