Class FormalJusticeAnalyzer
java.lang.Object
org.episteme.social.law.FormalJusticeAnalyzer
Analyzes formal justice and equity in resource distribution based on
Aristotelian principles of distributive and corrective justice.
- Version:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic RealcompensationAdequacy(double harmValue, double compensation) Corrective Justice: Compares the value of harm inflicted with the compensation provided.static RealdistributiveEquityIndex(double[] contributions, double[] shares) Distributive Justice (Proportional): Calculates an equity index where shares are proportional to merit or contribution.
-
Method Details
-
distributiveEquityIndex
Distributive Justice (Proportional): Calculates an equity index where shares are proportional to merit or contribution. Ratio = Share / Contribution.- Parameters:
contributions- the merit/contribution valuesshares- the distributed shares- Returns:
- a index where 1.0 represents perfect proportional justice
-
compensationAdequacy
Corrective Justice: Compares the value of harm inflicted with the compensation provided.- Parameters:
harmValue- the estimated magnitude of harmcompensation- the amount of restitution or compensation given- Returns:
- the ratio of compensation to harm (1.0 = perfect restitution)
-