source: proiecte/ptvs/src/vnsim/applications/vitp/predefinedqueries/QueryByLocation.java @ 31

Last change on this file since 31 was 31, checked in by (none), 14 years ago
File size: 770 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.applications.vitp.predefinedqueries;
7
8import vnsim.applications.vitp.utils.VITPRequest;
9
10public class QueryByLocation extends Query {
11
12        //location where to search for a vehicle on
13        //which the query should be injected
14        public int roadIdx;
15        public int pointIdx;
16
17        public QueryByLocation(VITPRequest req, int roadIdx, int pointIdx) {
18                super(req);
19                this.roadIdx=roadIdx;
20                this.pointIdx=pointIdx;
21        }
22}
Note: See TracBrowser for help on using the repository browser.