You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the Clone and Debug traits for MinCostFlowGraph.
This requires implementing Clone and Debug for _Edge as well.
To implement this change, we first need to choose between setting the trait bound for T as Clone, Debug or as Integral.
I think the former seems better.
For the Clone trait, it should be sufficient to specify the trait bound and write the impl.
For the Debug trait, discussion is needed regarding the output format.
I think using the debug_struct function for both MinCostFlowGraph and _Edge should be enough.
The text was updated successfully, but these errors were encountered:
To maintain consistency with other files, if both this issue and #153 are implemented, I think that one of them should include the necessary use statement for std::fmt.
Implement the
Clone
andDebug
traits forMinCostFlowGraph
.This requires implementing
Clone
andDebug
for_Edge
as well.To implement this change, we first need to choose between setting the trait bound for
T
asClone
,Debug
or asIntegral
.I think the former seems better.
For the
Clone
trait, it should be sufficient to specify the trait bound and write theimpl
.For the
Debug
trait, discussion is needed regarding the output format.I think using the
debug_struct
function for bothMinCostFlowGraph
and_Edge
should be enough.The text was updated successfully, but these errors were encountered: