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

mentalState.BASETYPE Maven / Gradle / Ivy

Go to download

Defines an interface and generic functionality of a mental state, independent from a specific KR language that is used to represent the content of a mental state.

There is a newer version: 2.2.0
Show newest version
/**
 * The GOAL Mental State. Copyright (C) 2014 Koen Hindriks.
 *
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU 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 Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program. If not, see .
 */

package mentalState;

/**
 * 

* Different (data)base types that are used in GOAL. *

*

* These types are useful for differentiating databases in the KR layer. *

*/ public enum BASETYPE { /** * A knowledge base. Note that GOAL does not explicitly store the knowledge base * of an agent, but only a list of formulae in the KB, present in the agent's * AgentProgram. This value is mostly there so that the DatabasePanel can * identify that it contains information of the knowledge base. */ KNOWLEDGEBASE("knowledgebase"), /** * database storing data from the belief section, and insert()'ed objects. There * is only 1 beliefbase for an agent. Beliefbase automatically inherits the * Knowledge base. */ BELIEFBASE("beliefbase"), /** * database storing a single goal, either a single line from a goal section or * from single adopt() actions. Goal bases automatically inherit the knowledge * base; Note that this feature is implemented by the KR layer. */ GOALBASE("goalbase"), /** * Database storing messages. */ MESSAGEBASE("messagebase"), /** * Database storing percepts. */ PERCEPTBASE("perceptbase"); /** * The proper string-representation of this {@link BASETYPE}. */ private String displayName; /** * Cache */ public static BASETYPE[] values = values(); private BASETYPE(String displayName) { this.displayName = displayName; } @Override public String toString() { return this.displayName; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy