Rev | Line | |
---|
[31] | 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.applications.vitp.predefinedqueries; |
---|
| 7 | |
---|
| 8 | import vnsim.applications.vitp.utils.VITPRequest; |
---|
| 9 | |
---|
| 10 | public 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.