Exemple #1
0
        internal void Backtrack(VfState vfs)
        {
            switch (_act)
            {
            case Action.deleteMatch:
                vfs.RemoveFromMappingList(_iGraph, _inod);
                break;

            case Action.groupMove:
                vfs.MakeMove(_iGraph, _inod, _grpRestore);
                break;
            }
        }
Exemple #2
0
        internal void Backtrack <TVAttr, TEAttr>(VfState <TVAttr, TEAttr> vfs)
        {
            switch (_act)
            {
            case Action.DeleteMatch:
                // Undo a matching
                vfs.RemoveFromMappingList(_iGraph, _ivtx);
                break;

            case Action.GroupMove:
                // Move back to previous group
                vfs.MakeMove(_iGraph, _ivtx, _grpRestore);
                break;
            }
        }