Class FormalJusticeAnalyzer

java.lang.Object
org.episteme.social.law.FormalJusticeAnalyzer

public final class FormalJusticeAnalyzer extends Object
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 Details

    • distributiveEquityIndex

      public static Real distributiveEquityIndex(double[] contributions, double[] shares)
      Distributive Justice (Proportional): Calculates an equity index where shares are proportional to merit or contribution. Ratio = Share / Contribution.
      Parameters:
      contributions - the merit/contribution values
      shares - the distributed shares
      Returns:
      a index where 1.0 represents perfect proportional justice
    • compensationAdequacy

      public static Real compensationAdequacy(double harmValue, double compensation)
      Corrective Justice: Compares the value of harm inflicted with the compensation provided.
      Parameters:
      harmValue - the estimated magnitude of harm
      compensation - the amount of restitution or compensation given
      Returns:
      the ratio of compensation to harm (1.0 = perfect restitution)