run_parallel_HC

Description

Run a simulation in serial mode with Hill Climbing

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)