run_parallel_HC {sms}R Documentation

run_parallel_HC

Description

Run a simulation in serial mode with Hill Climbing

Usage

run_parallel_HC(insms, inseed = -1)

Arguments

insms

A microsimulation object which holds the data and details of the simulation such as iterations, lexicon.

inseed

A number to be used for random seed.

Details

Run a simulation in serial mode with Hill Climbing

Value

msm_results An object with the results of the simulation, for each area.

Author(s)

Dimitris Kavroudakis dimitris123@gmail.com

Examples

library(sms)
data(survey) #load the data
data(census)
in.lexicon=createLexicon() # Create a data lexicon for holding the associated column names.
in.lexicon=addDataAssociation(in.lexicon, c("he","he"))
in.lexicon=addDataAssociation(in.lexicon, c("females","female"))

insms= new("microsimulation",census=census,panel=survey, lexicon=in.lexicon, iterations=10)
re=run_parallel_HC(insms, inseed=1900)
print(re)


[Package sms version 2.3.1 Index]