Class SocialCapitalModel

java.lang.Object
org.episteme.social.sociology.SocialCapitalModel

public final class SocialCapitalModel extends Object
Utility class for modeling social capital and analyzing network properties. Provides metrics for network density, trust, and capital types (Bonding vs Bridging).
Since:
1.0
Version:
1.2
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Details

    • calculateDensity

      public static Real calculateDensity(int nodes, int edges, boolean directed)
      Calculates the Network Density. Defined as the ratio of actual connections to the total number of possible connections.
      Parameters:
      nodes - number of individuals (nodes)
      edges - number of relationships (edges)
      directed - true if relationships are directed (A->B != B->A), false otherwise
      Returns:
      the density value between 0.0 and 1.0
    • reciprocityIndex

      public static Real reciprocityIndex(int mutualLinks, int totalLinks)
      Calculates a Trust Index based on reciprocity in relationships.
      Parameters:
      mutualLinks - count of bidirectional (reciprocated) links
      totalLinks - count of total links
      Returns:
      the reciprocity index
    • calculateBondingCapital

      public static Real calculateBondingCapital(Person person, SociologicalGroup SociologicalGroup, SocialNetwork network)
      Calculates the "Bonding Social Capital" of a person within a specific SociologicalGroup. This is measured as the ratio of ties within the SociologicalGroup to the SociologicalGroup size.
      Parameters:
      person - the person to analyze
      SociologicalGroup - the SociologicalGroup they belong to
      network - the social network
      Returns:
      internal tie ratio
    • calculateBridgingCapital

      public static Real calculateBridgingCapital(Person person, Set<SociologicalGroup> primaryGroups, SocialNetwork network)
      Calculates the "Bridging Social Capital" of a person. Measured as the number of ties to people outside their primary groups.
      Parameters:
      person - the person to analyze
      primaryGroups - the groups the person belongs to
      network - the social network
      Returns:
      count of external ties
    • calculateSocialCohesion

      public static Real calculateSocialCohesion(SociologicalGroup SociologicalGroup, SocialNetwork network)
      Estimates "Social Cohesion" of a SociologicalGroup. Average of all internal bonding capital scores.
      Parameters:
      SociologicalGroup - the SociologicalGroup
      network - the network
      Returns:
      cohesion index