Sensors and Intuitives in Neal Stephenson’s Novel, Anathem

A successful character reads like a complete person with particular thought patterns and reactions, habits and tics. The best characters are consistent and believable, a person one might encounter in real life, for better or worse. How does an author fashion the mental world of diverse but credible characters?