Created by ypopezios and last modified

Apart from other improvements, this redesigns the main algorithm introduced in this branch:

Main points:
1. Simplified code (although bigger code in total).
2. Faster code (less passes in total).
3. Lighter code (avoids some temporary data structures).
4. Better mathematics/scoring.
5. Retains the considerations of the previous branch.
6. Major improvement: After deciding next destination, unload any items unfavored by it, don't load similar items, and give priority in loading items heading to it. All decisions made before loading.
7. Bonus: Added basic unload animation, similar to expedition.

Get this branch:
bzr branch lp:~widelands-dev/widelands/ship_scheduling_2
Members of Widelands Developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Widelands Developers

Recent revisions

8796. By GunChleoc

Merged trunk.

8795. By GunChleoc

Merged trunk.

8794. By GunChleoc

Merged trunk.

8793. By GunChleoc

Fixed codecheck.

8792. By ypopezios

Small code-fixes

8791. By ypopezios

Address test suite

8790. By ypopezios

Effort to cover edge-case of test_rip_ports_with_worker_in_transit

8789. By GunChleoc

Improved savegame compatibility code. Fixed a number comparison bug.

8788. By GunChleoc

Merged trunk.

8787. By GunChleoc

Fix iterator errors. This also simplifies the code.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.