Non-orthogonal ship pipe routing method based on hierarchical encoding and rollback mechanism | Synapse