/// <summary> The current implementation will Remove the first activation /// and return it. If there's no more activations, the method /// return null; /// </summary> public virtual IActivation nextActivation(Rete engine) { IActivation act = activations.nextActivation(); if (act is LinkedActivation) { ((LinkedActivation)act).remove(engine); } return(act); }
/* (non-Javadoc) * @see woolfel.engine.rete.Strategy#nextActivation(woolfel.engine.rete.ActivationList) */ public virtual IActivation nextActivation(IActivationList thelist) { return(thelist.nextActivation()); }
/* (non-Javadoc) * @see woolfel.engine.rete.Strategy#nextActivation(woolfel.engine.rete.ActivationList) */ public virtual IActivation nextActivation(IActivationList thelist) { return thelist.nextActivation(); }