inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective10" />
image/svg+xml
www.optaplanner.org
www.optaplanner.org
en
ConstraintStream: join() with Joiners Similar to an SQL inner join. If joiners are used, it uses hash lookups to avoid a cartesian product.
Ann
1feb
Uni<Shift>
Beth
2feb
Beth
3feb
Ann
4feb
from(Shift.class)
Ann 3feb
Uni<DayOff>
Beth 3feb
from(DayOff.class)
Bi<Shift, DayOff>
Beth
3feb
Beth 3feb
.join( equal(Shift::getDate, DayOff::getDate), equal(Shift::getEmployee, DayOff::getEmployee))
.penalize()
Indexing/hashing of date+employeeto scale better (no cartesian product).