Click here to Skip to main content
15,915,019 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralSearch in Multiple Dimensions Pin
Nagy Vilmos3-Sep-15 23:02
professionalNagy Vilmos3-Sep-15 23:02 
GeneralRe: Search in Multiple Dimensions Pin
CDP18023-Sep-15 23:13
CDP18023-Sep-15 23:13 
GeneralRe: Search in Multiple Dimensions Pin
Nagy Vilmos3-Sep-15 23:26
professionalNagy Vilmos3-Sep-15 23:26 
GeneralRe: Search in Multiple Dimensions Pin
CDP18024-Sep-15 0:53
CDP18024-Sep-15 0:53 
GeneralRe: Search in Multiple Dimensions Pin
Nagy Vilmos4-Sep-15 1:14
professionalNagy Vilmos4-Sep-15 1:14 
GeneralRe: Search in Multiple Dimensions Pin
BillWoodruff4-Sep-15 1:10
professionalBillWoodruff4-Sep-15 1:10 
GeneralRe: Search in Multiple Dimensions Pin
Nagy Vilmos4-Sep-15 1:19
professionalNagy Vilmos4-Sep-15 1:19 
GeneralRe: Search in Multiple Dimensions Pin
_Maxxx_4-Sep-15 2:23
professional_Maxxx_4-Sep-15 2:23 
Not sure I fully understand as I am drunk. that said.

Is the 0..1 matching an essentially analog match (i.e. any value between 0 and 1) or are there only specific (i.e. digital) values

If the latter, and there are a reasonable number of discrete values, one can turn the problem around by storing each possible value as a boolean, in a bit pattern

we did this in a real estate system (as a concrete example)

so bit 0 meant 1 bedroom
bit 1 meant 2 bedroom
bit 45 meant swimming pool
bit 312 meant close to bus stop


etc.

then we read and logically AND ed each record with a search bit pattern.

because it's bits it's small and you can load a surprising number into memory for comparison.

Probably not your problem - but I think interesting anyway - much like this local Red
PooperPig - Coming Soon

GeneralRe: Search in Multiple Dimensions Pin
Nagy Vilmos4-Sep-15 2:37
professionalNagy Vilmos4-Sep-15 2:37 
GeneralRe: Search in Multiple Dimensions Pin
_Maxxx_4-Sep-15 2:40
professional_Maxxx_4-Sep-15 2:40 
GeneralWSO CCC OTD 2015-04-09 - solved Pin
Duncan Edwards Jones3-Sep-15 22:18
professionalDuncan Edwards Jones3-Sep-15 22:18 
GeneralRe: WSO CCC OTD 2015-04-09 Pin
chriselst3-Sep-15 23:10
professionalchriselst3-Sep-15 23:10 
GeneralRe: WSO CCC OTD 2015-04-09 Pin
Duncan Edwards Jones3-Sep-15 23:11
professionalDuncan Edwards Jones3-Sep-15 23:11 
GeneralRe: WSO CCC OTD 2015-04-09 Pin
chriselst3-Sep-15 23:13
professionalchriselst3-Sep-15 23:13 
AnswerRe: WSO CCC OTD 2015-04-09 Pin
Duncan Edwards Jones3-Sep-15 23:17
professionalDuncan Edwards Jones3-Sep-15 23:17 
GeneralRe: WSO CCC OTD 2015-04-09 Pin
chriselst3-Sep-15 23:19
professionalchriselst3-Sep-15 23:19 
GeneralRe: WSO CCC OTD 2015-04-09 Pin
Nagy Vilmos4-Sep-15 0:14
professionalNagy Vilmos4-Sep-15 0:14 
GeneralRe: WSO CCC OTD 2015-04-09 Pin
chriselst4-Sep-15 0:20
professionalchriselst4-Sep-15 0:20 
GeneralRe: WSO CCC OTD 2015-04-09 Pin
90823654-Sep-15 2:23
90823654-Sep-15 2:23 
GeneralRe: WSO CCC OTD 2015-04-09 Pin
chriselst4-Sep-15 2:39
professionalchriselst4-Sep-15 2:39 
GeneralRe: WSO CCC OTD 2015-04-09 Pin
_Maxxx_4-Sep-15 2:25
professional_Maxxx_4-Sep-15 2:25 
GeneralThis is what I call a fashion statement! Pin
Johnny J.3-Sep-15 22:14
professionalJohnny J.3-Sep-15 22:14 
GeneralRe: This is what I call a fashion statement! Pin
OriginalGriff3-Sep-15 22:30
mveOriginalGriff3-Sep-15 22:30 
GeneralRe: This is what I call a fashion statement! Pin
Johnny J.3-Sep-15 22:37
professionalJohnny J.3-Sep-15 22:37 
GeneralRe: This is what I call a fashion statement! Pin
OriginalGriff3-Sep-15 22:49
mveOriginalGriff3-Sep-15 22:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.