Skip to content
C++ implementation of practicable Aligned Induction
C++ CMake
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
AlignmentAesonRepa.cpp
AlignmentAesonRepa.h
AlignmentPracticableIORepa.cpp
AlignmentPracticableIORepa.h
AlignmentPracticableRepa.cpp
AlignmentPracticableRepa.h
AlignmentRandomRepa.cpp
AlignmentRandomRepa.h
AlignmentRepa.cpp
AlignmentRepa.h
CMakeLists.txt
LICENSE
README.md
main.cpp

README.md

AlignmentRepaC

The AlignmentRepaC repository is a fast C++ implementation of some of the practicable inducers described in the paper The Theory and Practice of Induction by Alignment at https://greenlake.co.uk/. The AlignmentRepaC repository depends on the AlignmentC repository for the underlying model framework.

Download

The AlignmentRepaC module requires modern C++ version 17 or later to be installed.

For example, in Ubuntu bionic (18.04),

sudo apt-get update -y && sudo apt install -y git g++ cmake

Then download the zip file or use git to get the underlying rapidjson and AlignmentC repositories, and the AlignmentRepaC repository -

git clone https://github.com/Tencent/rapidjson.git
git clone https://github.com/caiks/AlignmentC.git
git clone https://github.com/caiks/AlignmentRepaC.git

Build

Ubuntu debug -

mkdir AlignmentC_build AlignmentRepaC_build
cd AlignmentRepaC_build
cmake -DCMAKE_BUILD_TYPE=DEBUG ../AlignmentRepaC
make

Ubuntu release -

mkdir AlignmentC_build AlignmentRepaC_build
cd AlignmentRepaC_build
cmake -DCMAKE_BUILD_TYPE=RELEASE ../AlignmentRepaC
make

Windows debug -

mkdir AlignmentC_build AlignmentRepaC_build
cd /d AlignmentRepaC_build
"C:\Program Files\CMake\bin\cmake" -G "Visual Studio 14 2015" -A x64 ../AlignmentRepaC
"C:\Program Files\CMake\bin\cmake" --build . --config Debug --target AlignmentRepaC_test

Windows release -

mkdir AlignmentC_build AlignmentRepaC_build
cd /d AlignmentRepaC_build
"C:\Program Files\CMake\bin\cmake" -G "Visual Studio 14 2015" -A x64 ../AlignmentRepaC
"C:\Program Files\CMake\bin\cmake" --build . --config Release --target AlignmentRepaC_test

Usage

Ubuntu -

cd ..
mkdir AlignmentRepaC_ws
cd AlignmentRepaC_ws
../AlignmentRepaC_build/AlignmentRepaC_test 

Windows debug -

cd ..
mkdir AlignmentRepaC_ws
cd AlignmentRepaC_ws
..\AlignmentRepaC_build\Debug\AlignmentRepaC_test.exe

Windows release -

cd ..
mkdir AlignmentRepaC_ws
cd AlignmentRepaC_ws
..\AlignmentRepaC_build\Release\AlignmentRepaC_test.exe 
You can’t perform that action at this time.