AIXI.AIXIEnvironment.maximum_action C# (CSharp) Method

maximum_action() public method

public maximum_action ( ) : int?
return int?
        public int? maximum_action()
        {
            //todo: put all maxX together
            //todo: in which sense this should be maximum? - How it is used?
            //  because we are just taking last element, not maximal
            if (this.ValidActions.Length > 0) {
                return this.ValidActions[this.ValidActions.Length-1];
            }
            else
            {
                return null;
            }
        }