to test this postpone ability, there is a skill with these abilities:
1) to recite ainz incantation, which is a long algorithm, meaning it takes several cycles to complete. 1 cycle per spell cast :

Code:


case "incantation 0":
                setSimpleAlg("fly","bless of magic caster","infinity wall", "magic ward holy","life essence");

2) a short algorithm, in this experiment, "what is the time", which outputs, you guessed it, the current time

so what happens is, while one algorithm is running a second is set on stand by, to run after the 1st one finishes:

Code:


        Brain b1 = new Brain();
        b1.hardwareChobit.addSkill(new DiSysOut());
        b1.logicChobit.addSkill(new DiTime());
        b1.doIt("incantation 0","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("what is the time","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");


fly
bless of magic caster
infinity wall
magic ward holy
life essence
12:32

there is more!
I can change the algorithm priority:

Code:


            case "what is the time":
                setVerbatimAlg(3, pl.getCurrentTimeStamp());
                return;

in this case the priority of the short alg is lower(3) than the long alg priority(4)
which gives the shorter alg priority to run over the long algorithm.

Code:

       b1.hardwareChobit.addSkill(new DiSysOut());
        b1.logicChobit.addSkill(new DiTime());
        b1.doIt("incantation 0","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("what is the time","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");
        b1.doIt("","","");

fly
bless of magic caster
infinity wall
14:34
magic ward holy
life essence

the alg with the lower numeric value does not wait for the higher priority active alg to finish.

for example in nature flight or flight algorithms have a higher priority to run.