Giter VIP home page Giter VIP logo

l3-reduction-cpp's Introduction

Lenstra–Lenstra–Lovász Reduction Implementation in C++

Contains:

Instructions to run either of the file:

Compile:

g++ -std=c++14 fileName.cpp -o fileName

Run:

fileName

User Inputs:

Modifiy the following variables in int main() to provide input as per need.

std::vector<std::vector<int>> basis;
basis = {{201, 37}, {1648, 297}}; //set Column wise //basis[i] should give the i-th column

double delta = 0.99;

Paper Refered:

Purpose:

Part of Independent Project titled "An Experimental Study of BKZ Algorithm"" at IIIT Delhi in Monsoon 2022 Semester under the guidance of Dr. Subhabrata Samajder

Author:

Useful Links:

Note:

  • The l3_r.cpp is not running properly.
  • The root cause for this is identified to be the imprecisions in convering double values to Rational values.
  • The current algorithm (based on idea of Continued Fractions) fails to represent a subset of double values using small integer numerator and denominator.
  • During computations, these numerator and denominator values grows rapidly leading to integer overflow, eventually causing code termination.

l3-reduction-cpp's People

Contributors

0deadlock0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.