search for: getlevel

Displaying 3 results from an estimated 3 matches for "getlevel".

Did you mean: getlevels
2011 Oct 07
1
Unexpected behavior of extract (`[`) or sapply functions
...um 1 in factor.cols = c(1,2). Any help or suggestions would be greatly appreciated. Sincerely, andrewH # Test Data test.df <- data.frame(AA=rep(LETTERS[1:2], c(6,6)),BB=rep(LETTERS[3:5], c(4,4,4)), CC=rep(LETTERS[6:9],c(3,3,3,3)), DD=c(1:12)) # The function getLevels <- function(data.df, factor.cols, data.col){ test.levels <- sapply(test.df[,factor.cols, drop=F], levels) cat("test.levels:\n"); print(test.levels) no.levels <- sapply(sapply(data.df[,factor.cols, drop=F], levels), length) cat("no.levels:\n"); print(no.levels) } # Ru...
2017 Jul 17
2
An update on the DominatorTree and incremental dominators
...emi-NCA, we weren’t able to observe it in practice. - DomTreeNodes now automatically store their level (depth) in the tree, which is always up-to-date. This is used for fast nearest common dominator computation and for building iterated dominance frontier. You can get it by calling .getLevel() on a DomTreeNode. - We have a new set of verifiers that are able to prove or disprove correctness of a DomTree -- you can explicitly do it by calling DT.verify(). The check has a disadvantage of being quite slow (O(n^3)), so the legacy DT.verifyDominatorTree() uses it only when...
2010 Nov 14
2
java binding and virtualbox-ose
I'm trying to connect to vbox hypervisor on an Ubuntu 10.04 machine through libvirt java binding (libvirt-java-0.4.6) by simply invoking: Connect conn = new Connect("vbox:///session", false); but I got this exception: libvir: warning : Failed to find the interface: Is the daemon running ? libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock':