Class Syllogism
java.lang.Object
org.episteme.social.philosophy.Syllogism
- All Implemented Interfaces:
Serializable
Represents a formal logical argument where a conclusion is inferred from
two premises.
A classic syllogism consists of a Major Premise, a Minor Premise, and a Conclusion, following Aristotelian logical structures.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Details
-
Syllogism
Constructs a Syllogism.- Parameters:
majorPremise- the major premise (containing the major term)minorPremise- the minor premise (containing the minor term)conclusion- the inferred conclusion- Throws:
NullPointerException- if any premise is null
-
-
Method Details
-
getMajorPremise
-
getMinorPremise
-
getConclusion
-
isSound
public boolean isSound()Checks if the argument is "sound". A sound argument is one that is both valid (logical structure) and has true premises. Note: This method only checks the truth values of the components as defined; it does not validate the logical inference form itself (Use LogicSolver for formal validity).- Returns:
- true if all premises and the conclusion are marked as true
-
toString
-