예제 #1
0
 void updateParams(SynthesizeParameters parms)
 {
     // TODO: check parameters compatibility
     if (m_Params.getFlags() != parms.getFlags())
     {
         throw new Exception("SynthesisQuery::update - new parameters are not compatible with previous!");
     }
     m_Params = parms;
 }
예제 #2
0
        public bool equalTo(SynthesizeParameters parms)
        {
            bool same = true;

            same &= getConstraintThreshold() == parms.getConstraintThreshold();
            same &= getCoherenceThreshold() == parms.getCoherenceThreshold();
            same &= getCutAvoidance() == parms.getCutAvoidance();
            same &= getFlags() == parms.getFlags();

            return(same);
        }