Class Premise

java.lang.Object
org.episteme.social.philosophy.Premise
All Implemented Interfaces:
Serializable

public class Premise extends Object implements Serializable
Represents a logic premise, consisting of a statement and its assigned truth value.

Premises are used as the fundamental building blocks for arguments and syllogisms within a logical framework.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

    • Premise

      public Premise(String statement)
      Creates a premise assumed to be True.
      Parameters:
      statement - the textual claim of the premise
    • Premise

      public Premise(String statement, boolean truthValue)
      Creates a premise with an explicit truth value.
      Parameters:
      statement - the textual claim
      truthValue - validity of the claim
  • Method Details

    • getStatement

      public String getStatement()
    • isTrue

      public boolean isTrue()
      Returns the boolean truth value of this premise.
      Returns:
      true if the premise is considered true in the current context
    • toString

      public String toString()
      Overrides:
      toString in class Object