Git Product home page Git Product logo

aco's Introduction

Hi there ๐Ÿ‘‹

I am a cybersecurity practitioner based in Europe doing DFIR, malware analysis and detection engineering for a number of years. My malsub and ir-rescue tools have been used by a number of cybersecurity teams and organizations across the world. If you like my work, you can support me with GitHub Sponsors.

  • ๐ŸŒฑ I am currently looking to learn Rust;
  • ๐Ÿ”๏ธ I enjoy swimming and mountain biking;
  • ๐Ÿ’ฌ Ask me about cybersecurity;
  • ๐Ÿ“ซ How to reach me: [email protected];
  • โšก Fun fact: I have lived and worked in five countries.

Diogo's GitHub Stats

aco's People

Contributors

debakarr avatar diogo-fernan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

aco's Issues

Final edge pheromone update in ACO::updatePHEROMONES

In function:
void ACO::updatePHEROMONES () {
If the tour is 1->2->3->1, the above only updates pheromone for 1->2 2->3 but not for 3->1. Shouldn't that be updated too? length() function does not take into account the last edge as well.

BETA is too low

#define BETA (double) 0.8
BETA should be equal or greater than 1

city function in ACO.cpp file

int ACO::city () {
double xi = randoms -> Uniforme();
int i = 0;
double sum = PROBS[i][0];
while (sum < xi) {
i++;
sum += PROBS[i][0];
}
return (int) PROBS[i][1];
}

In the city function why are the probabilities from PROBS array being added in the sum variable until it exceeds the random value of xi? Shouldn't the city with the highest probability be selected from the list of cities which have not been visited yet?

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.