Interval Tree Python Class Constructor Method In C