Beispiel #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;
 }
Beispiel #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);
        }