LearningOptimalDiscriminantFunctions Through a CooperativeGame ofAutomata