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;
}
}