Ejemplo n.º 1
0
        public override void Visit(object obj)
        {
            var candidate = (QCandidate)obj;

            // force activation outside the try block
            // so any activation errors bubble up
            ForceActivation(candidate);
            try
            {
                Platform4.EvaluationEvaluate(i_evaluation, candidate);
            }
            catch (Exception)
            {
                candidate.Include(false);
            }
            // TODO: implement Exception callback for the user coder
            // at least for test cases
            if (!candidate._include)
            {
                DoNotInclude(candidate.GetRoot());
            }
        }