A trace-driven simulator for the Anyplace Indoor Localization Service. The simulator connects directly with the Anyplace API and is written in JAVA. It allows developers to test various ideas on top of Anyplace before prototyping them in a real setting.
Anyplace Simulator: A trace-driven evaluation and visualization of IoT Data Prefetching in Indoor Navigation SOAs
Author(s): Zacharias Georgiou, Panagiotis Irakleous
Supervisor: Demetrios Zeinalipour-Yazti
Copyright (c) 2017 Data Management Systems Laboratory, University of Cyprus
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/
Make sure you have maven tool installed in your system. Also use jdk1.8.0_181. The following commands, clone the repository and build the simulator project
git clone https://github.com/dmsl/anyplace.git && cd simulator
mvn package
Runnable jars will be produced in their corresponding directory.
This service fetches the building with the specified buid. It creates two directories: graphs and fingerprints.
java -jar DataConnector/target/DataConnector-1.0.jar [buid]
This service creates the dataset for a building. It requires the files of the building from the DataConnector Service.
java -jar DatasetCreator/target/DatasetCreator-1.0.jar
This service implements all the algorithms along with evaluation metrics.
java -jar Simulator/target/Simulator-1.0.jar
This service shows the graph generated by various building plans and also allows tracing the algorithms to understand their behaviour.
java -jar Visualizer/target/Visualizer-1.0.jar
This service creates traces from the behaviour of different types of people (e.g., students, faculty members) for the specified building.
java -jar TracesCreator/target/TracesCreator-1.0.jar
- Run the DataConnector to fetch the Computer Science building of the University of Cyprus:
java -jar DataConnector/target/DataConnector-1.0.jar username_1373876832005
- Run the DatasetCreator to create a dataset
java -jar DatasetCreator/target/DatasetCreator-1.0.jar
- Run the Simulator to build the algorithms
java -jar Simulator/target/Simulator-1.0.jar
- Run the Visualizer application to visualize the algorithms
java -jar Visualizer/target/Visualizer-1.0.jar
- Zacharias Georgiou
- Panagiotis Eracleous