Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1001895 // hasTransitive - check if e and f are connected transitively over a relation (MultiMap)

JavaX fragment (include)

static boolean hasTransitive(MultiMap<S, S> map, S e, S f) {
  ret makeHull(map, e).contains(f);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001895
Snippet name: hasTransitive - check if e and f are connected transitively over a relation (MultiMap)
Eternal ID of this version: #1001895/1
Text MD5: 390ebd1c584fb1b8ec0385da4549c6e2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-06 17:14:41
Source code size: 102 bytes / 3 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 550 / 794
Referenced in: [show references]