Nietzsche’s Genealogy of Morality conceptually demonstrates use of an algorithm or a branching structure.