Class InheritanceModule
java.lang.Object
simpaths.model.InheritanceModule
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcloneBalances(Map<Long, Person> clonedPersons) Copy trusts and lineage when population alignment clones an existing unit.exportPopulationLineage(Set<Person> persons) Cache source identities, including child branches omitted by sampling.doubleintvoidindexSourceFamilies(List<Household> inputHouseholds) Index source families before independent sampling obscures some links.voidrecordAlignmentEntry(int year, BenefitUnit unit) Wealth brought into the simulated sample by an alignment-created unit.voidreleaseMatureTrusts(int year, Set<Person> persons) Make earlier inheritances available as soon as their holders reach adulthood.voidrestorePopulationLineage(String data, Set<Person> persons) voidvoidsetSeed(long seed) voidsetSyntheticRecipientCount(int count) voidsettleYear(int year, Set<Person> persons, Set<BenefitUnit> units) voidupdateImmigrantLinkAudit(long valid, long unresolved) voidwriteLedger(Path outputDirectory)
-
Constructor Details
-
InheritanceModule
public InheritanceModule()
-
-
Method Details
-
setSeed
public void setSeed(long seed) -
setSyntheticRecipientCount
public void setSyntheticRecipientCount(int count) -
getSyntheticRecipientCount
public int getSyntheticRecipientCount() -
indexSourceFamilies
-
exportPopulationLineage
-
restorePopulationLineage
-
getIlliquidAssetWealth
-
getTransfers
-
getAlignmentFlows
-
getDeathEvents
-
getOrphanExits
-
getOrphanReassignments
-
getSyntheticMatches
-
setFamilyLinkAudit
-
updateImmigrantLinkAudit
public void updateImmigrantLinkAudit(long valid, long unresolved) -
cloneBalances
-
recordAlignmentEntry
Wealth brought into the simulated sample by an alignment-created unit. -
releaseMatureTrusts
-
settleYear
-
writeLedger
- Throws:
IOException
-