Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
e04bbb3
MOD Makefile
tigerjack Jul 20, 2024
f159ea5
ADD parallel work factor computation
tigerjack Jul 20, 2024
78e39d7
MOD cost estimates w/ skip macros & min initialization
tigerjack Jul 20, 2024
b826bf6
ADD logging utilities, moved to C++17, solved warnings
tigerjack Jul 20, 2024
254dd9e
MOD parameter_generator and incs for logging and std::vector
tigerjack Jul 20, 2024
bcb804a
Minor
tigerjack Jul 20, 2024
54b8a33
ADD logs/ dir to gitignore
tigerjack Jul 20, 2024
6846108
ADD bin dir to gitignore, delete dangerous ignore alls
tigerjack Jul 20, 2024
5834eb3
ADD dir input parameter to logging
tigerjack Jul 20, 2024
a8b8abc
MOD change ISD functions result from double to Result struct
tigerjack Jul 20, 2024
9c2fa04
MOD Makefile, switch to C++20
tigerjack Jul 20, 2024
0efdd71
ADD global paths
tigerjack Jul 20, 2024
19635db
FIX Wrong function calls
tigerjack Jul 20, 2024
da6979f
Minors
tigerjack Jul 20, 2024
f8fccf4
Minor includes updated
tigerjack Jul 22, 2024
7dcbff8
ADD cmake file
tigerjack Jul 22, 2024
f5473d1
Untrack Makefile
tigerjack Jul 22, 2024
5bc3c51
MOD CMakeLists
tigerjack Jul 22, 2024
ce3a335
FIX maybe_unitnitialized warnings
tigerjack Jul 22, 2024
9614f62
DEL hard-coded local libraries path from cmake
tigerjack Jul 22, 2024
34ff15d
FIX log2 pinv computation
tigerjack Jul 24, 2024
907dc34
ADD return fixed value for pinv computation
tigerjack Jul 24, 2024
700239e
ADD log(2) magic number
tigerjack Jul 24, 2024
7e1a4f5
MOD use log2_RR function instead of magic number
tigerjack Jul 24, 2024
60c7ad5
MOD result to return also GJE cost
tigerjack Jul 24, 2024
cb5a4bd
MOD project structure
tigerjack Jul 25, 2024
5ae078d
Minors
tigerjack Jul 25, 2024
541bbca
MOD structure w/ headers and sources separated
tigerjack Jul 25, 2024
86f652c
MOD logging default value
tigerjack Jul 25, 2024
c8af174
MOD CMakeLists to export library
tigerjack Jul 25, 2024
5eff602
ADD example directory
tigerjack Jul 25, 2024
11af98b
MOD structure
tigerjack Jul 26, 2024
f48b3a2
ADD partitions_permanents to ledautils library
tigerjack Jul 26, 2024
e9b8918
ADD install targets
tigerjack Jul 26, 2024
d0d2cc9
MOD parallel computation
tigerjack Jul 26, 2024
1bdcd2b
DEL #defines to enable specific algorithms
tigerjack Jul 26, 2024
b91ed48
MOD CMakeLists
tigerjack Jul 26, 2024
73cc5cd
FIX binomials for uninitialized data; DEL InitConstants
tigerjack Jul 27, 2024
9597a4e
Minors
tigerjack Jul 27, 2024
a5c4c2f
MOD isd estimate example
tigerjack Jul 27, 2024
ab00a62
DEL logging utilities
tigerjack Jul 27, 2024
4f57509
Minors
tigerjack Jul 27, 2024
94f377c
ADD different attack costs to parallel computation
tigerjack Jul 27, 2024
bb35ead
ADD classic/quantum functions for reduction factors
tigerjack Jul 29, 2024
6c38686
ADD handling of both json and plain input to work_factor_computation
tigerjack Jul 29, 2024
7075398
MOD CMakeLists to exclude parallel
tigerjack Jul 31, 2024
c3b7495
MOD prime computation
tigerjack Jul 31, 2024
c68bad4
MOD work_factor_computation, skip if existing
tigerjack Jul 31, 2024
daf4243
ADD dynamic scheduling for OMP_NUM_THREADS
tigerjack Jul 31, 2024
65e66dc
ADD no. of processed element to work_factor_computation
tigerjack Aug 1, 2024
e906b5c
MOD printings
tigerjack Aug 1, 2024
5243e31
FIX reduction factor; DEL reduction factor recomputation
tigerjack Aug 2, 2024
77d57e8
DEL old work factor
tigerjack Aug 6, 2024
6cc25f7
MOD new README
tigerjack Aug 6, 2024
c743b62
DEL last logging utils
tigerjack Aug 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 23 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
# Warning! Ignore all files w/out extensions
# Ignore all
*
# Unignore all with extensions
!*.*
# Unignore all dirs
!*/
# Unignore other
!LICENSE
!Makefile

# MINE
bin/
build/

# Log output
logs/

# CMAKE
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
CMakeUserPresets.json


# C++
# Cache
.ccls-cache
# out
Expand Down
23 changes: 23 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.10)

# Project name and version
project(LEDAtools VERSION 1.0 LANGUAGES CXX)

# Specify the C++ standard
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# Global compiler flags
add_compile_options(-O3 -Wall -Wextra -Wno-sign-compare)
# add_compile_options(-O0 -g3 -Wall -Wextra -Wno-sign-compare)

# Include directories
include_directories(${PROJECT_SOURCE_DIR}/include)

add_subdirectory(src)
add_subdirectory(examples)
# add_subdirectory(test)

# Installation directories
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
8 changes: 0 additions & 8 deletions Makefile

This file was deleted.

29 changes: 29 additions & 0 deletions README_new.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
* Added
- CMakeLists

Dependencies:
- spdlog to log
- fmt (come with spdlog)

Executables
- work_factor_computation
Compute the work factor. It accepts either a json or a plain set of parameters

* Structure
- include/utils
All the hpp headers
- src/utils
Al the cpp corresponding to the prev headers
- src/tools
All the output tools, that is, executables to use

* Compile
To create the binaries (inside the local `bin` directory)
Inside `build`

```sh
cmake -DCMAKE_INSTALL_PREFIX=.. ..
make install -j
```

Then, you can execute the files as ./bin/<tool_name>
94 changes: 0 additions & 94 deletions binomials.hpp

This file was deleted.

Loading