Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ preference
Method
preference
examples/photo.cpp:61–63 ·
view source on GitHub ↗
Access preference \a p with position \a i
Source
from the content-addressed store, hash-verified
59
}
60
/// Access preference \a p with position \a i
61
int preference(int p, int i) const {
62
return data[2+2*p+i];
63
}
64
};
65
66
/**
Callers
1
Photo
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected