NOUSERMACRO(generator scenario main type)

COMMENT(  Starts a report. The top-level sectioning command  is chapter.
       )

mailto(f.b.brokken@rug.nl)

DEFINEMACRO(C)(1)(COMMENT(ARG1))

DEFINEMACRO(s)(0)(tt(simrisc))
DEFINEMACRO(S)(0)(tt(Simrisc))

DEFINEMACRO(itt)(1)(it() tt(ARG1))
DEFINEMACRO(centt)(1)(center(tt(ARG1)))

AfourEnlarged()

IFDEF(html)(htmlstylesheet(simrisc.css))()

latexoptions(11pt)
latexpackage()(epsf)
latexpackage()(simrisc)

setlatexfigureext(.eps)

C(sethtmlfigureext(.gif)
)

htmlbodyopt(text)(black)
htmlbodyopt(bgcolor)(white)

includefile(abstract.yo)

affiliation(University of Groningen)

report(Simrisc Manual)(Frank B. Brokken)(September 01, 2024)())

chapter(Introduction)
includefile(intro/intro.yo)

    lsect(GENERIC)(Generic Support Classes)
    
        lsubsect(ENUMS)(Enums: program-wide constants)
        includefile(generic/enums.yo)

        lsubsect(TYPEDEFS)(Program-wide type definitions)
        includefile(generic/typedefs.yo)

        subsect(Globally available functions)
        includefile(generic/globals.yo)

        subsect(Options)
        includefile(generic/options.yo)

        subsect(Err)
        includefile(generic/err.yo)


        lsubsect(DISTRIBUTION)(Distribution)
        includefile(generic/distribution.yo)

        lsubsect(VSD)(VSD)
        includefile(generic/vsd.yo)

        lsubsect(AGEGROUP)(AgeGroup)
        includefile(generic/agegroup.yo)

chapter(Design)

    sect(the main() function)
    includefile(main/main.yo)
    
    sect(Simulator)
    includefile(simulator/simulator.yo)
    
        subsect(run)
        includefile(simulator/run.yo)
    
    lsect(ANALYSIS)(Analysis)
    includefile(analysis/analysis.yo)
    
        subsect(run)
        includefile(analysis/run.yo)
    
    lsect(SCENARIO)(Scenario)
    includefile(scenario/scenario.yo)
    
    lsect(LOOP)(Loop)                  
    includefile(loop/loop.yo)
        
chapter(Support classes for Loop)

    lsect(COSTS)(Costs) 
    includefile(costs/costs.yo)
    
    lsect(DENSITIES)(Densities)
    includefile(densities/densities.yo)

        lsubsect(DENSITY)(Density)
        includefile(densities/density.yo)
    
    lsect(MODALITIES)(Modalities)  
    includefile(modalities/modalities.yo)

    subsect(the base class ModBase)
    includefile(modalities/modbase.yo)
    
        subsubsect(the derived class MRI)
        includefile(modalities/mri.yo)
    
        subsubsect(the derived class Mammo)
        includefile(modalities/mammo.yo)

        subsubsect(the derived class Tomo)
        includefile(modalities/tomo.yo)
    
    lsect(SCREENINGCLASS)(Screening and Rounds)
    includefile(screening/screening.yo)   
    
    lsect(TUMOR)(Tumor)
        lsubsect(TUMORRESET)(Resetting the tumor data)
        lsubsect(TUMORCHARACT)(Computing the tumor's characteristics)
        lsubsect(TUMORDEATHAGE)(Computing the dying age because of the tumor)
    
    lsect(TUMORINFO)(TumorInfo)
    includefile(tumorinfo/tumorinfo.yo)

        lsubsect(BEIR)(Beir7)
        includefile(tumorinfo/beir7.yo)

        subsect(Growth)
        subsect(Incidence)
        subsect(Survival)
    
chapter(Generating Random Numbers)

    lsect(RANDOM)(Random)
    includefile(random/random.yo)

lchapter(SPREAD)(Spread)
includefile(spread/spread.yo)

COMMENT(
    
    sect(Standard Deviations)
    includefile(spread/stddevs.yo)

    lsect(Proportions)
    includefile(spread/proportions.yo)
END)
