class-aggregator provides the software to deduplicate and aggregate the edge information of a smart city in the context of the European Project CLASS (H2020, G.A. 780622)
This projects depends on:
- CUDA 10.0
- CUDNN 7.603
- OPENCV 3.4
- yaml-cpp 0.5.2
- Eigen
- GDal
sudo apt-get install -y libeigen3-dev \
python3-matplotlib \
python-dev \
libgdal-dev \
libcereal-dev \
libyaml-cpp-dev \
libpthread-stubs0-dev
required for tkCommon
sudo apt-get install -y libgles2-mesa-dev libglew-dev libmatio-dev libpcap-dev
bash scripts/install-glfw-3.3.sh
required for demo (downloads some data)
bash scripts/download_configuration_data.sh
git submodule update --init --recursive # initialize
git submodule update --remote --recursive # update all
Build with cmake.
git clone gitlab@git.hipert.unimore.it:dsapienza/class-aggregator.git
cd class-aggregator
mkdir build
cd build
cmake ..
make
Edit "demo/class_aggregator_configuration_file.yaml":
- input_ports: specify the listening port list
- output_ports: specify the forwarding port list
- output_ips: specify the forwarding ip list
- visualization: specify if or not to show the map viewer
N.B the ports number must equal to ips number
cd build/
./class-aggregator -i path-to-configuration-file
#./class-aggregator -i ../demo/class_aggregator_configuration_file.yaml
On an other terminal:
cd build/
./test-aggregator