This is an internal function, not normally called directly by the
user. The ergm_SAN_slave
function samples networks and
network statistics using a simulated annealing (SAN) algorithm via
SAN_wrapper
.
ergm_SAN_slave(
state,
tau,
control,
verbose,
...,
nsteps = NULL,
samplesize = NULL,
statindices = NULL,
offsetindices = NULL,
offsets = NULL
)
an ergm_state
representing the sampler state, containing information about the network, the model, the proposal, and current statistics.
a scalar; temperature to use; higher temperature means more proposals that "worsen" the statistics are accepted.
A list of control parameters for algorithm tuning,
typically constructed with control.san()
. Its documentation
gives the the list of recognized control parameters and their
meaning. The more generic utility snctrl()
(StatNet ConTRoL)
also provides argument completion for the available control
functions and limited argument name checking.
A logical or an integer to control the amount of
progress and diagnostic information to be printed. FALSE
/0
produces minimal output, with higher values producing more
detail. Note that very high values (5+) may significantly slow
down processing.
additional arguments, currently unused.
an integer; number of SAN proposals.
an integer; number of network statistics to return.
specification for offset handling; see san.formula()
implementation.