8000 GitHub - alexcega/Firefighter-Problem: Heuristics and ploting for the firefighter problem. Diferent aproach to this combinatorial optimization problem.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Heuristics and ploting for the firefighter problem. Diferent aproach to this combinatorial optimization problem.

Notifications You must be signed in to change notification settings

alexcega/Firefighter-Problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firefighter-Problem

Heuristics and ploting for the firefighter problem. Diferent aproach to this combinatorial optimization problem.

Description of problem

There is a node on fire in T = 0. The fire expreads to each adjacent node that it has. Your job is to extinguish the fire in the minimal amount of time (T), each T you get to protect N nodes acording of how many Firefigthers you have image

Heurisitcs

Degree

Save the node with the highest number of edges image

Desc

In a graph tree, try to find the biggest sub tree to save image

Threat

Similar to Degree, try to save the node with highest number of edges but only from the nodes thretened image

More details

The graphs are read from a csv file with a adjacenty matrix read using numpy The Graph is plot using the library networkx and matplotlib

About

Heuristics and ploting for the firefighter problem. Diferent aproach to this combinatorial optimization problem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0