MCPcopy Create free account
hub / github.com/Gecode/gecode / operator ()

Method operator ()

gecode/int/task/sort.hpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85 template<class TaskView, bool inc>
86 forceinline bool
87 StoEst<TaskView,inc>::operator ()
88 (const TaskView& t1, const TaskView& t2) const {
89 return inc ?
90 (t1.est() < t2.est() || (t1.est()==t2.est() && t1.lct() < t2.lct()))
91 : (t2.est() < t1.est() || (t2.est()==t1.est() && t2.lct() < t1.lct()));
92 }
93
94 template<class TaskView, bool inc>
95 forceinline bool

Callers

nothing calls this directly

Calls 4

estMethod · 0.45
lctMethod · 0.45
ectMethod · 0.45
lstMethod · 0.45

Tested by

no test coverage detected