Shared binary decision diagram with attributed edges for efficient Boolean function manipulation