/[lmi]/lmi/ledger_variant.cpp
ViewVC logotype

Diff of /lmi/ledger_variant.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by chicares, Sat Oct 8 18:25:24 2005 UTC revision 1.11 by chicares, Sun Oct 9 23:25:28 2005 UTC
# Line 98  void LedgerVariant::Alloc(int len) Line 98  void LedgerVariant::Alloc(int len)
98      BegYearVectors  ["NetIntCredited"       ] = &NetIntCredited         ;      BegYearVectors  ["NetIntCredited"       ] = &NetIntCredited         ;
99      BegYearVectors  ["GrossIntCredited"     ] = &GrossIntCredited       ;      BegYearVectors  ["GrossIntCredited"     ] = &GrossIntCredited       ;
100    
     BegYearVectors  ["ExpRsvInt"            ] = &ExpRsvInt              ;  
101      BegYearVectors  ["NetCOICharge"         ] = &NetCOICharge           ;      BegYearVectors  ["NetCOICharge"         ] = &NetCOICharge           ;
102    
103      // TODO ?? There seems to be no reason for both these 'ExpRatRsv.*'      ForborneVectors ["ExperienceReserve"    ] = &ExperienceReserve      ;
104      // variables to exist anymore. It seems peculiar that the one with  
105      // 'Forborne' in its name is not an element of 'ForborneVectors',      BegYearVectors  ["PolicyFee"            ] = &PolicyFee              ;
     // and vice versa; originally, 'ExpRatRsvForborne' had been  
     // multiplied by px when set elsewhere, in a context that required  
     // the experience-rating reserve to be held in certificates rather  
     // than held separately for the group as a whole, and it was wrong  
     // then to show any such reserve in a certificate that would have  
     // become a claim at year end. That usage of 'Forborne' was in  
     // conflict with the meaning of that lexeme in 'ForborneVectors'.  
     //  
     // Let us regard only 'ExpRatRsvCash' as authoritative, and  
     // expunge 'ExpRatRsvForborne' when convenient, renaming the  
     // first to drop the 'Cash' lexeme.  
     //  
     ForborneVectors ["ExpRatRsvCash"        ] = &ExpRatRsvCash          ;  
     EndYearVectors  ["ExpRatRsvForborne"    ] = &ExpRatRsvForborne      ;  
   
     BegYearVectors  ["MlyPolFee"            ] = &MlyPolFee              ;  
     BegYearVectors  ["AnnPolFee"            ] = &AnnPolFee              ;  
     BegYearVectors  ["PolFee"               ] = &PolFee                 ;  
106      BegYearVectors  ["PremTaxLoad"          ] = &PremTaxLoad            ;      BegYearVectors  ["PremTaxLoad"          ] = &PremTaxLoad            ;
107      BegYearVectors  ["DacTaxLoad"           ] = &DacTaxLoad             ;      BegYearVectors  ["DacTaxLoad"           ] = &DacTaxLoad             ;
108      BegYearVectors  ["SpecAmtLoad"          ] = &SpecAmtLoad            ;      BegYearVectors  ["SpecAmtLoad"          ] = &SpecAmtLoad            ;
109      BegYearVectors  ["AcctValLoadBOM"       ] = &AcctValLoadBOM         ; // TODO ?? expunge in October PRESSING      BegYearVectors  ["SepAcctLoad"          ] = &SepAcctLoad            ;
     BegYearVectors  ["AcctValLoadAMD"       ] = &AcctValLoadAMD         ;  
110    
111      // Deaths are assumed to come at the end of the year only; but      // Deaths are assumed to come at the end of the year only; but
112      // they're discounted by the proportion in force at the beginning.      // they're discounted by the proportion in force at the beginning.
# Line 136  void LedgerVariant::Alloc(int len) Line 116  void LedgerVariant::Alloc(int len)
116      // get it corrected.      // get it corrected.
117      BegYearVectors  ["NetClaims"            ] = &NetClaims              ;      BegYearVectors  ["NetClaims"            ] = &NetClaims              ;
118      BegYearVectors  ["NetPmt"               ] = &NetPmt                 ;      BegYearVectors  ["NetPmt"               ] = &NetPmt                 ;
     BegYearVectors  ["BOYPrefLoan"          ] = &BOYPrefLoan            ;  
119    
120      EndYearVectors  ["AcctVal"              ] = &AcctVal                ;      EndYearVectors  ["AcctVal"              ] = &AcctVal                ;
121      EndYearVectors  ["DacTaxRsv"            ] = &DacTaxRsv              ;      EndYearVectors  ["DacTaxRsv"            ] = &DacTaxRsv              ;
# Line 151  void LedgerVariant::Alloc(int len) Line 130  void LedgerVariant::Alloc(int len)
130      EndYearVectors  ["SurrChg"              ] = &SurrChg                ;      EndYearVectors  ["SurrChg"              ] = &SurrChg                ;
131      EndYearVectors  ["TermPurchased"        ] = &TermPurchased          ;      EndYearVectors  ["TermPurchased"        ] = &TermPurchased          ;
132      EndYearVectors  ["BaseDeathBft"         ] = &BaseDeathBft           ;      EndYearVectors  ["BaseDeathBft"         ] = &BaseDeathBft           ;
133        EndYearVectors  ["ProjectedCoiCharge"   ] = &ProjectedCoiCharge     ;
134    
135      OtherVectors    ["MlySAIntRate"         ] = &MlySAIntRate           ;      OtherVectors    ["MlySAIntRate"         ] = &MlySAIntRate           ;
136      OtherVectors    ["MlyGAIntRate"         ] = &MlyGAIntRate           ;      OtherVectors    ["MlyGAIntRate"         ] = &MlyGAIntRate           ;
# Line 160  void LedgerVariant::Alloc(int len) Line 140  void LedgerVariant::Alloc(int len)
140      OtherVectors    ["AnnGAIntRate"         ] = &AnnGAIntRate           ;      OtherVectors    ["AnnGAIntRate"         ] = &AnnGAIntRate           ;
141      OtherVectors    ["AnnHoneymoonValueRate"] = &AnnHoneymoonValueRate  ;      OtherVectors    ["AnnHoneymoonValueRate"] = &AnnHoneymoonValueRate  ;
142      OtherVectors    ["AnnPostHoneymoonRate" ] = &AnnPostHoneymoonRate   ;      OtherVectors    ["AnnPostHoneymoonRate" ] = &AnnPostHoneymoonRate   ;
143        OtherVectors    ["KFactor"              ] = &KFactor                ;
144    
145      OtherScalars    ["LapseMonth"           ] = &LapseMonth             ;      OtherScalars    ["LapseMonth"           ] = &LapseMonth             ;
146      OtherScalars    ["LapseYear"            ] = &LapseYear              ;      OtherScalars    ["LapseYear"            ] = &LapseYear              ;
# Line 265  void LedgerVariant::Init Line 246  void LedgerVariant::Init
246              ,e_rate_period(e_annual_rate)              ,e_rate_period(e_annual_rate)
247              );              );
248    
 //  BOYPrefLoan     =  
249  //  PrefLoanBalance =  //  PrefLoanBalance =
250  //  TotalLoanBalance=  //  TotalLoanBalance=
251  //  ExcessLoan      =  //  ExcessLoan      =
# Line 274  void LedgerVariant::Init Line 254  void LedgerVariant::Init
254  //  SurrChg         =  //  SurrChg         =
255  //  TermPurchased   =  //  TermPurchased   =
256  //  BaseDeathBft    =  //  BaseDeathBft    =
257    //  ProjectedCoiCharge =
258    //  KFactor         =
259    
260      InitAnnLoanCredRate = a_BV->InterestRates_->RegLnCredRate      InitAnnLoanCredRate = a_BV->InterestRates_->RegLnCredRate
261          (a_ExpAndGABasis          (a_ExpAndGABasis

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26