Each of these functions evaluates the cost of an ordering.
costARc(sw, o, target = nrow(sw) - 1, ...)
costBAR(sw, o, target=max(2,floor(nrow(sw)/5)),...)
costLS(sw, o, target=seq_along(sw),...)
costPL(sw, o, ...)
costLPL(sw, o, target=(nrow(sw)-1):1,...)
costED(sw, o, node,se,...)
For cost=costLS, this is a vector of object weights. Otherwise is a symmetric matrix.
An ordering vector.
The node
Extra info
Parameter used by cost function.
Other args.
Result of cost