Rev Language Reference



mnAncestralState(Tree tree, RevObject ctmc, String filename, String type, Natural printgen, String separator, Bool append, Bool version)


tree : Tree (pass by const reference)
The tree which we monitor.
ctmc : RevObject (<stochastic> pass by reference)
The CTMC process.
filename : String (pass by value)
The name of the file for storing the samples.
type : String (pass by value)
The type of data to store.
printgen : Natural (pass by value)
The frequency how often to sample.
Default : 1
separator : String (pass by value)
The separator between columns in the file.
Default :
append : Bool (pass by value)
Should we append or overwrite if the file exists?
Default : FALSE
version : Bool (pass by value)
Should we record the software version?
Default : FALSE