|
|
| Pathmap | 9.2.2004 | Jozef Wagner |
|
|
|
 | Pathmap |
|
Pathmap is program which shows usage of GA (Genetic algorithms) for finding an optimal path in map.
Program is finished, however not all features are implemented and it is not optimized. Like some of my other programs, it is mainly for programmers, who can learn from my code how to implement GA into their programs. Also I implemented a neat map drawing stuff which some people might find useful.
|
Status :
 | Finished |
 | Free (both program and source code) |
|
 | Description |
|
Some User interface help :
- change 'height' by doubleclicking on entity
- 'Insert' creates, 'Delete' removes map
- 'Page Up' and 'Page Down' perform zooming
- 'End' toogles AutoZoom and 'Home' fits map on screen
Some Info on source code :
- (MFC) program consists of 2 views. This was done in CMainFrame::OnCreateClient()
- (MFC) CMainFrame::OnUserUpdate() updates things between those 2 views
- CPathMapView() is doing all map drawing stuff
- CPopulationView() is for population tree
- CPathMapDoc() holds map (CGenMap)
- CGen is one genome, CGenMap is height map, CPopulation holds one population
- G_LIVE struct holds paremeters of GA and pointers to populations
|
 | Features |
|
- Developed under Visual C++ 6.0. Using MFC
- Creating and editing various 'height' maps
- Using Genetic Algorithms
|
 | Download |
|
read Other section on this page for known bugs and program notes to avoid asking me things which are explained here
|
 | Screenshots |
|
|
|
 | Other |
|
Notes :
- If you have some questions about source code, ask me and I'll gladly answer...
- If you want to know password for source codes, contact me. read FAQ for more info why I passworded source codes
- program is finished but it lacks many features
- source code is a bit messy
Bugs :
TODO :
- optimize
- add more features
|
|