%%%% Copyright 2008 University of Washington %%%% % ------------------------------------------------------------------------- % new in this frame is a constraint on the ending state: this is % implemented using a binary 'observed child', always observed to have the % value 1, and the constraint is enforced using a CPT which defines which % parents can result in this child having the value 1 variable: stateConstraint { type: discrete observed value 1 cardinality BINARY_CARD; switchingparents: nil; conditionalparents: state(0) using DeterministicCPT("finalState"); } % ------------------------------------------------------------------------- variable: pType { type: discrete hidden cardinality PROTEIN_TYPE_CARD; switchingparents: nil; conditionalparents: spBit(0), iNumTM(0) using DeterministicCPT("setPtype"); } % -------------------------------------------------------------------------