source: proiecte/ptvs/src/vnsim/vehicular/scenarios/EntryExitScenario.java @ 31

Last change on this file since 31 was 31, checked in by (none), 14 years ago
File size: 1010 bytes
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 ***********************************************************************************/
6package vnsim.vehicular.scenarios;
7
8
9import java.util.Vector;
10
11import vnsim.vehicular.simulator.Location;
12
13
14public 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.