File diff r23022:731ae1300799 → r23023:7b8669afd1db
src/linkgraph/mcf.cpp
Show inline comments
 
@@ -190,13 +190,13 @@ public:
 
};
 

	
 
/**
 
 * Determines if an extension to the given Path with the given parameters is
 
 * better than this path.
 
 * @param base Other path.
 
 * @param cap Capacity of the new edge to be added to base.
 
 * @param free_cap Capacity of the new edge to be added to base.
 
 * @param dist Distance of the new edge.
 
 * @return True if base + the new edge would be better than the path associated
 
 * with this annotation.
 
 */
 
bool DistanceAnnotation::IsBetter(const DistanceAnnotation *base, uint cap,
 
		int free_cap, uint dist) const
 
@@ -224,13 +224,13 @@ bool DistanceAnnotation::IsBetter(const 
 
}
 

	
 
/**
 
 * Determines if an extension to the given Path with the given parameters is
 
 * better than this path.
 
 * @param base Other path.
 
 * @param cap Capacity of the new edge to be added to base.
 
 * @param free_cap Capacity of the new edge to be added to base.
 
 * @param dist Distance of the new edge.
 
 * @return True if base + the new edge would be better than the path associated
 
 * with this annotation.
 
 */
 
bool CapacityAnnotation::IsBetter(const CapacityAnnotation *base, uint cap,
 
		int free_cap, uint dist) const