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

4
LINES

< > BotCompany Repo | #1023884 // levenSubstringIC_limited - levenSubstringIC with distance limit. not optimized yet

JavaX fragment (include)

// TODO: optimize
static int levenSubstringIC_limited(S haystack, S needle, int max) {
  ret min(max, levenSubstringIC(haystack, needle));
}

Author comment

Began life as a copy of #1023862

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1023884
Snippet name: levenSubstringIC_limited - levenSubstringIC with distance limit. not optimized yet
Eternal ID of this version: #1023884/2
Text MD5: aeada1c1f73ce7f283456cecf631dcc5
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-28 15:38:41
Source code size: 143 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 136 / 177
Version history: 1 change(s)
Referenced in: [show references]