(Total Views: 714)
Posted On: 07/30/2020 1:23:44 AM
Post# of 148908
A slight optimization, logical correction for the first iteration and introductions of a doze of reality.
int goodLife ()
{
living = 1;
while (living)
{
partner = findNewPartner();
waitAndAssess();
if (!happy() || !free() || onYouNerve())
{
relaxAndThink();
ditchPartner();
imagineABetterLife();
living = if (onLeronlimab)
then random.binomial( (1-.14 ) )
else random.binomial( (1-.39) );
}
}
}
You get the drift
Quote:
int goodLife () {
living = 1;
partner = findNewPartner();
while (living) {
if (!happy() || !free() || onYouNerve()) {
relaxAndThink();
ditchPartner();
imagineABetterLife();
partner = findNewPartner();
}
waitAndAssess();
}
}
int goodLife ()
{
living = 1;
while (living)
{
partner = findNewPartner();
waitAndAssess();
if (!happy() || !free() || onYouNerve())
{
relaxAndThink();
ditchPartner();
imagineABetterLife();
living = if (onLeronlimab)
then random.binomial( (1-.14 ) )
else random.binomial( (1-.39) );
}
}
}
You get the drift
(1)
(0)
Scroll down for more posts ▼