Add an option to consider the direction of links connecting neighbors when determining whether they should contribute to the alignment score or not