#include "api1/Cipres.idl" module CipresIDL_api1 { interface ConsensusTreeCalculator : Scriptable, LifeCycle { /* enumeration of types of consensusÊ tree */ const long STRICT = 0; const long SEMI_STRICT = 1; const long MAJORITY_RULE = 2; const long ADAMS = 3; const long FROM_EXECUTE = 4; /* use the user-configuration to determine the type of consensus */ Tree getConsensus(in long consensusType, in TreeSeq trees); }; };