Class InheritanceModule

java.lang.Object
simpaths.model.InheritanceModule

public final class InheritanceModule extends Object
The wealth module's pooled bequest rule. Non-pension wealth stays with a surviving responsible adult; the remaining unit estate passes at the last adult's death. A remaining modelled pension pot is distributed at its owner's death before retirement.
  • Constructor Details

    • InheritanceModule

      public InheritanceModule()
  • Method Details

    • setSeed

      public void setSeed(long seed)
    • setSyntheticRecipientCount

      public void setSyntheticRecipientCount(int count)
    • getSyntheticRecipientCount

      public int getSyntheticRecipientCount()
    • indexSourceFamilies

      public void indexSourceFamilies(List<Household> inputHouseholds)
      Index source families before independent sampling obscures some links.
    • exportPopulationLineage

      public String exportPopulationLineage(Set<Person> persons)
      Cache source identities, including child branches omitted by sampling.
    • restorePopulationLineage

      public void restorePopulationLineage(String data, Set<Person> persons)
    • getIlliquidAssetWealth

      public double getIlliquidAssetWealth(BenefitUnit unit)
    • getTransfers

      public List<InheritanceModule.Transfer> getTransfers()
    • getAlignmentFlows

      public List<InheritanceModule.AlignmentFlow> getAlignmentFlows()
    • getDeathEvents

      public List<InheritanceModule.DeathEvent> getDeathEvents()
    • getOrphanExits

      public List<InheritanceModule.OrphanExit> getOrphanExits()
    • getOrphanReassignments

      public List<InheritanceModule.OrphanReassignment> getOrphanReassignments()
    • getSyntheticMatches

      public List<InheritanceModule.SyntheticMatch> getSyntheticMatches()
    • setFamilyLinkAudit

      public void setFamilyLinkAudit(InheritanceModule.FamilyLinkAudit audit)
    • updateImmigrantLinkAudit

      public void updateImmigrantLinkAudit(long valid, long unresolved)
    • cloneBalances

      public void cloneBalances(Map<Long,Person> clonedPersons)
      Copy trusts and lineage when population alignment clones an existing unit.
    • recordAlignmentEntry

      public void recordAlignmentEntry(int year, BenefitUnit unit)
      Wealth brought into the simulated sample by an alignment-created unit.
    • releaseMatureTrusts

      public void releaseMatureTrusts(int year, Set<Person> persons)
      Make earlier inheritances available as soon as their holders reach adulthood.
    • settleYear

      public void settleYear(int year, Set<Person> persons, Set<BenefitUnit> units)
    • writeLedger

      public void writeLedger(Path outputDirectory) throws IOException
      Throws:
      IOException