public float GetMembership( float x ) { // if x is the support, returns 1, otherwise, returns 0 return ( support == x ) ? 1 : 0; } }