Graph DB and finding shortest path between coordinates - graph-databases

I am evaluating what graph db to use for my use case .
Use Case : The building layout has multiple rooms , R1, R2 , R3 , R4 , R5 ..etc . We can use these 2 paths to reach R5 From R1 .
R1 --> R2 ---> R4 ---> R5
R1 --> R2 ---> R3 ---> R5
Similary we have n number of points and x number of paths . Now as every of these points can be interconnected and i want to find.
All the available paths from point A to B .
Shortest available path from A to B .
Please note every above is in form of x,y coordiantes . For Example : R1 is at 50,100 and R2 is at 100,200
What DB shall i use as the usage is low ?
Any example on how to store , retrieve using Javascript would be helpful

Related

Extract Text in Cell w/ Multiple Spaces

I would like to extract: 1 High Street in column B1 and Sydney NSW in column C1. So far I have extracted column B1 correctly using =TRIM(MID(SUBSTITUTE($A1," ",REPT(" ",99),3),(COLUMNS($A:A)-1)*99+1,99)) but when I try to extract C1 using =TRIM(MID(SUBSTITUTE($A1," ",REPT(" ",99),3),(COLUMNS($A:B)-1)*99+1,99)) I get Sydney NSW 2000 I need it to return only Sydney NSW and omit the 2000. Thanks

AutoDesk Maya MEL - iPhone Facecap transfer issue

I am trying to copy facial motion data, head rotation specifically, gathered through an app called FaceCap via iPhone and transfer to Maya models.
I've gotten the data to successfully transfer but... the rotation is an exact mirror of original facial motion data.
Here's the code so far:
// rotation X copied
select -r grp_transform ;
selectKey -clear ;
selectKey -add -k grp_transform_rotateX;
copyKey ;
//rotation X pasted
select -r H_DDS_HighRes ;
selectKey -clear ;
pasteKey -time 1 -float 1 -option merge -copies 1 -connect 0 -timeOffset 0
floatOffset 0 -valueOffset 0 {"Head.rx"};
How do I make an exact transfer of data instead of mirroring it?

Google Data Studio - Custom Aggregation formula

I am building a report in Google Data Studio, and I run into a problem with the aggregation for a couple of metrics.
As an example, I have the following table:
name. |. M1. |. M2. |. M3
A. 23 45 1,9
B. 45 6 0,1
C. 23 45 1,9
D. 12 34 2,8
E. 4 2 0,5
Where
M3 = M2/M1
Now, when I display this in a table in GDS, the totals for M1 and M2 are the sum of the values, and that is ok, but I can only choose between fixed aggregation operations, and the total for M3 should be:
Total M3 = sum(M2)/sum(M1)
Any idea if this is possible?
You can create your own custom field:
https://support.google.com/datastudio/answer/6299685?hl=en

SSRS 2012 - Hide unused columns at a page level

I am trying to create a report in SSRS 2012 which page breaks on a given group's change (that part works fine), but also only shows the columns relevant to each particular page.
I have tried various forms of Expressions like the one below on the Column Visibility option to no avail
=IIF(Max(Field, Dataset)= "",TRUE,FALSE)
For a quick mock up, say that I have a City group, a Store child group, and a ProductsCarried yes/no (or 1/0) value. My desire for this exercise it to have one city per page with all of the stores in that city, then a cross tab that only only shows the products that a given city sells.
City Store Lawn Chairs Tables BBQ Grills
Boston Store #1 X X
Store #2 X X
--- PAGE BREAK ---
City Store Mowers Shovels
Dallas Store #7 X
Store #8 X X
Instead, what I'm getting is something more along the lines of this
City Store Lawn Chairs Tables BBQ Grills Mowers Shovels
Boston Store #1 X X
Store #2 X X
--- PAGE BREAK ---
City Store Lawn Chairs Tables BBQ Grills Mowers Shovels
Dallas Store #7 X
Store #8 X X
Any guidance is appreciated!

multiple criteria for sumifs

I have two sheets: one is input and the other is master.
A snapshot of my input sheet is shown below:
Workers Name WEEK working hrs
a11 w1 40
a22 w5 30
a33 w9 10
a44 w10 80
A snapshot of my master sheet is shown below (NB: the workers names are unique)
Workers Name W1 W2 W3 W4 W5 W6 W7 W8 W9 W10
a11 40
a22 30
a33 10
a44 80
I want a sumifs loop so that it can give result for workers working hrs in my masters table in their respective weeks(w1 to w13).
I am using a sum ifs formula for this:
Sheets("Master").Range("B2:B" & Range("A" & Rows.Count).End(xlUp).Row).Formula = "=SUMIFS(Input!C32,Input!C37,Master!C1,Input!C31,Master!B1)"
Any suggestions how to loop it in VBA
Please help....
I'm sorry but I'm not sure you need vba - if you know what your row and column criteria are in master you can write something like
=sumifs(workinghrs,workersname,$a2,week,b$2)
Then fill it down and across for your grid.
NB I've used named ranges for your input sheet for readability

Resources