I want to create a special function class which derives from a function, an element of FiniteSetMaps.
I am thinking it would look something like the below.
My two questions are:
1) What class should I derive this from? 2) What is the least taxing way to "initialize" this class and set it equal to the map I'm passing in.
See below. Thanks!
`
class SpecialFunction(<fill in the blank>):
def __init__(self,f):
CODE HERE TO Set self to be equal to the function f
def ColorOfFunction(self)
return "Blue"