view Implab/Automaton/DFAStateDescriptor.cs @ 167:96681e9d0cea ref20160224

sync
author cin
date Wed, 02 Mar 2016 00:20:48 +0300
parents e227e78d72e4
children 54270c2f29f2
line wrap: on
line source

namespace Implab.Automaton {
    public struct DFAStateDescriptior {
        public readonly bool final;
        public readonly int[] transitions;


        public DFAStateDescriptior(int[] transitions, bool final) {
            this.transitions = transitions;
            this.final = final;
        }

        public DFAStateDescriptior(int[] transitions) : this(transitions, false) {
        }
    }
}