Giter Club home page Giter Club logo

asa_p2's Introduction

ASA Project 2

School project for Analysis and Synthesis of Algorithms.

The objective was to do image segmentation using max-flow/min-cut algorithms. The algorithm implemented was Edmonds-Karp. More info regarding the project and its objectives can be found in the file p2-enunciado.pdf but it's in Portuguese. There's also a report that was part of the project, al058-proj2ASA-relatorio.pdf, also in Portuguese.

Getting Started

There's already a compiled version of the code (file a.out). The source code is in the file finalV.c, including some useful comments. The code does not have exhaustive comments explaining every step.

Running the tests

There are two folders with public tests: publicTests1 and publicTests2_BigIO. For every test there's an input file (.in) and an expected output file (.out).

To run the tests and confirm the results one should do the following: Run the program a.out with a .in file as input and redirect the output to an empty file of your choice. Example: $ ./a.out < publicTests1/t01.in > results.txt Compare the output of that file with the respective expected output file. Example: $ diff results.txt publicTests1/t01.out This command should have no output.

Authors

asa_p2's People

Contributors

ruialvesmarionete avatar ruialves284 avatar

Watchers

 avatar

Forkers

jmvcoelho

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.