Node Class with LearningAgorithm Object as one of its attributes
A version with Node and Learning Algorithm Classes and a test function