A Study on The Design of Linear Multiple-Valued Logic Systems Based on the Directed Tree Graph