Class Subject
java.lang.Object
org.episteme.social.philosophy.epistemology.Subject
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
Represents an epistemic agent (human, organization, or AI) capable of
holding beliefs and acquiring knowledge.
Modernized to implement ComprehensiveIdentification and support dynamic traits and consistent identity.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a belief to the subject's belief system.voidaddKnowledge(Knowledge knowledge) Adds knowledge to the subject's knowledge base.booleanReturns an unmodifiable view of the subject's beliefs.getId()Returns the unique identifier of this entity.Returns an unmodifiable view of the subject's knowledge base.Returns the traits map for this entity.inthashCode()booleanknows(Proposition proposition) Checks if the subject "knows" a certain proposition.toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Subject
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- Returns:
- the identifier
-
getTraits
Description copied from interface:ComprehensiveIdentificationReturns the traits map for this entity.- Specified by:
getTraitsin interfaceCommented- Specified by:
getTraitsin interfaceComprehensiveIdentification- Returns:
- the traits map
-
addBelief
Adds a belief to the subject's belief system.- Parameters:
belief- the belief to add
-
addKnowledge
Adds knowledge to the subject's knowledge base. Also adds the underlying belief if not already present.- Parameters:
knowledge- the knowledge to add
-
getBeliefs
-
getKnowledgeBase
-
knows
Checks if the subject "knows" a certain proposition.- Parameters:
proposition- the proposition to check- Returns:
- true if it exists in the knowledge base
-
equals
-
hashCode
-
toString
-