Skip to content

Calculate the optimum number and size of files that can fit into the hard disk(s) using a genetic algorithm

License

Notifications You must be signed in to change notification settings

faif/nfiles-ndisks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nfiles-ndisks is a program that I developed during my BSc, while following a course related with Intelligent Systems. It uses a genetic algorithm while trying to find the optimum solution in a constraint-based problem. Two different solutions are provided. The first one concerns fitting a random number of files with a random size each, in a hard disk (which also has a random size). The second problem is similar to the first, but uses a random number of disks instead of just a single one.

Warning: Do not focus on the C++ code of nfiles-ndisks because it needs serious refactoring. Instead, I'd suggest you to focus on the genetic algorithm part and how GAlib (and other similar genetic algorithm libraries) can be used for solving constraint-based problems.

About

Calculate the optimum number and size of files that can fit into the hard disk(s) using a genetic algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published