URL: <http://gna.org/patch/?7911>
Summary: Add an action probability to [0, 1] converter Project: Freeciv Submitted by: sveinung Submitted on: Tue 01 Nov 2016 11:27:42 AM UTC Category: general Priority: 5 - Normal Status: Ready For Test Privacy: Public Assigned to: sveinung Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 3.0.0 Contains string changes: No _______________________________________________________ Details: Introduce action_prob_to_0_to_1_pessimist(). It converts an act_prob struct to a double from 0 to 1. When an action probability represents a range it will return the minimum probability. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 01 Nov 2016 11:27:42 AM UTC Name: double-conversion-function.patch Size: 2kB By: sveinung <http://gna.org/patch/download.php?file_id=29227> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?7911> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev