public function __toString() { return "[ Node: " . $this->name . " input: (" . $this->input . ") " . " state: (" . $this->stateToString($this->state) . ")" . "]"; }