Merge lp:~widelands-dev/widelands/ai_blocked_cosideration into lp:widelands
Status: | Merged |
---|---|
Merged at revision: | 8611 |
Proposed branch: | lp:~widelands-dev/widelands/ai_blocked_cosideration |
Merge into: | lp:widelands |
Diff against target: |
65 lines (+19/-5) 1 file modified
src/ai/defaultai.cc (+19/-5) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/ai_blocked_cosideration |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+339719@code.launchpad.net |
Commit message
Based on my observation of AI training on McGregors Swamp, I decided to give an AI opportunity to ignore buildable fields (when scoring a buildable field) that are currently banned (on blocked_fields list). I specifically have in mind fields beyond a body of water that are mostly considered blocked, but AI still considers them a good direction to spread towards.
Description of the change
Based on my observation of AI training on McGregors Swamp I decided to give an AI opportunity to ignore buildable fields (when scoring a buildable field) that are currently banned (on blocked_fields list). I have in my mind specifically fields beyond a water, that are mostly considered blocked, but AI still consider them good direction to spread toward.
This branch itself is not enough, some training is needed afterwards, but this provides changes in C++ code... I will do train, once it is in trunk...
Continuous integration builds have changed state:
Travis build 3253. State: failed. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 346511218. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ ai_blocked_ cosideration- 3062.
Appveyor build 3062. State: failed. Details: https:/