EasyDevCpp / SoftwareChallenge

GNU General Public License v3.0
1 stars 0 forks source link

getMostEfficientAction(): Important Infos & ongoing TODO #14

Closed EasyDevCpp closed 6 years ago

EasyDevCpp commented 6 years ago

TODO

manuel3108 commented 6 years ago

getMostEfficientAction() is not dealing with cards / unable to play cards

EasyDevCpp commented 6 years ago

That's not what getMostEfficientAction() is supposed to do... It is actually able to play cards itself but misses the second action, which should be handled by your Part. Additionally there is no way to identify the most efficient card type, because it basically takes the average amount of each action.

EasyDevCpp commented 6 years ago

About getMostEfficientAction's Quality Parameter:

The quality parameter basically represents the inverted threshold of the sigmoid function. As higher the Quality value gets as less the function is used!

Each Part can change the used quality parameter by simply using: super.setQuality(double)

Minimum Quality is 0.25, so to speak the highest threshold. (100%) Maximum Quality is 1.25, so to speak the lowest threshold. (0%)

The in my opinion best Quality value is 0.65. It's also the default value.

manuel3108 commented 6 years ago

Ok, I think, that 0.65 is definetly to high. Should be at 0.3/0.35 in my opinion else AI is never playing.

Also super.setQuality(double) will only be important in the neyt turn played by the bot because of the implementation in the Part.

EasyDevCpp commented 6 years ago

Nope. I have to change the sigmoid Funktion which is originally supposed to work with smaller values...also super.setQuality is supposed to be placed in the constructor

EasyDevCpp commented 6 years ago

Closing it right now.