All Downloads are FREE. Search and download functionalities are using the official Maven repository.

APT.all-test.dice-model-bot-new.Impasse_Tie.evaluate-operator.evaluate-exact-likelihood.soar Maven / Gradle / Ivy

sp {evaluate-operator*propose*evaluate-exact-likelihood
   (state  ^name evaluate-operator
              ^superstate.operator.superoperator.name exact
              ^bid-difference )
-->
   ( ^operator  + =)
   ( ^name evaluate-exact-likelihood)
}

# 0 and above mean that there are more dice than the bid

sp {apply*evaluate-exact-likelihood*risky
   (state  ^operator 
              ^bid-difference { < .4 > -0.4 }
              ^superstate.operator.evaluation )
   ( ^name evaluate-exact-likelihood)
-->
   (write (crlf) |  Exact success likelihood is risky - should be high or low.|)
   ( ^symbolic-value risky
        ^bid-difference -0.7) # for me to exact
}

sp {apply*evaluate-exact-likelihood*very-risky
   (state  ^operator 
              ^bid-difference >= .4
              ^superstate.operator.evaluation )
   ( ^name evaluate-exact-likelihood)
-->
   (write (crlf) |  Exact success likelihood is very risky > .4|)
   ( ^symbolic-value very-risky
        ^bid-difference -1.6) # for me to exact
}

sp {apply*evaluate-exact-likelihood*very-risky2
   (state  ^operator 
              ^bid-difference <= -0.4
              ^superstate.operator.evaluation )
   ( ^name evaluate-exact-likelihood)
-->
   (write (crlf) |  Exact success likelihood is very risky <= -.4|)
   ( ^symbolic-value very-risky
        ^bid-difference -1.6) # for me to exact
}