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

io.github.agentsoz.vaccination.jack.DoActOnVaccinationDecision Maven / Gradle / Ivy

/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
  This code is generated by JAC version 5.6 by
  Agent Oriented Software. http://www.agent-software.com.au

    DO NOT ALTER THIS CODE AND DO NOT REMOVE THIS COMMENT
 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/
package io.github.agentsoz.vaccination.jack;

/*
 * #%L
 * BDI-ABM Integration Package
 * %%
 * Copyright (C) 2014 - 2017 by its authors. See AUTHORS file.
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Lesser Public License for more details.
 * 
 * You should have received a copy of the GNU General Lesser Public
 * License along with this program.  If not, see
 * .
 * #L%
 */
import aos.jack.jak.event.BDIGoalEvent;

public class DoActOnVaccinationDecision extends aos.jack.jak.event.BDIGoalEvent {
    public io.github.agentsoz.vaccination.jack.DoActOnVaccinationDecision post()
    {
        io.github.agentsoz.vaccination.jack.DoActOnVaccinationDecision tmp = new io.github.agentsoz.vaccination.jack.DoActOnVaccinationDecision();
        tmp.init(this);
        return tmp.post_body();
    }
    
    private io.github.agentsoz.vaccination.jack.DoActOnVaccinationDecision post_body()
    {
        return this;
    }
    
    protected boolean initBehavior()
    {
        java.lang.Class cl;
        if (behavior == null) 
            return true;
        if (!super.initBehavior()) 
            return false;
        if (!super.initBehavior()) 
            return false;
        if ((cl = getMyBehavior()) == null) 
            return true;
        if (!cl.isAssignableFrom(behavior.getClass())) 
            return true;
        if (!behavior.setAttribute("ApplicableSet","new")) 
            return false;
        if (!behavior.setAttribute("ApplicableChoice","random")) 
            return false;
        if (!behavior.setAttribute("Recover","repost")) 
            return false;
        if (!behavior.setAttribute("ApplicableExclusion","none")) 
            return false;
        if (!behavior.setAttribute("ApplicableExclusion","failed")) 
            return false;
        return true;
    }
    
    public DoActOnVaccinationDecision()
    {
    }
    
    public java.lang.String stateInfo()
    {
        return "io/github/agentsoz/vaccination/jack/DoActOnVaccinationDecision.event [" + super.stateInfo() + "]";
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy