lp:~widelands-dev/widelands/ai-scheduler

Created by TiborB and last modified

This branch is reorganization of DefaultAI::think() function. This central function defines which "job" is to be run in this turn.
Up to now it is quite unfair and chaotic. Main problem is that functions lower on the list gets lesser chance to be run.

New approach is that every function has its due time and the one with oldest due time is run. This is more fair....

Number of such jobs (functions) is growing, right now there are about 15 of them.

Also this allows better statistics - counter what function how many times was run....

Members of Widelands Developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Widelands Developers
Project:
widelands
Status:
Merged

Recent revisions

This branch has not been scanned yet.

Branch metadata

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