Displaying 3 results from an estimated 3 matches for "update_n".
Did you mean:
update_
2011 Feb 08
3
Parallel processing question ...
...d out lines are what I would be doing (successfully) if I wasn't
trying to implement the %dopar% . The goal is to do statistics on the
sequence of lambda vectors that were originally accumulated in the matrix
lambdas using cbind.
Thanks in advance for any suggestions,
Dave
---------------snip
update_N <- function(sets, indexes, lam) {
n <- length(indexes)-1 # count of events
N <- rep(0, K) # count of failures per node
for (i in 1:n) {
nodes <- as.numeric(sets[indexes[i]:(indexes[i+1]-1)])
node <- resample(nodes, 1, prob=lam[nodes]/sum(lam[nodes]))...
2009 May 15
0
[PATCH server] use service layer for Network controller.
...ot; id != " + nic.physical_network.id.to_s)
- end
- }
- network_conditions = network_conditions.join(" AND ")
-
- @networks = PhysicalNetwork.find(:all, :conditions => network_conditions)
- network_options
-
- render :layout => false
- end
-
- def update_nic
- begin
- network_options
-
- unless params[:nic][:physical_network_id].nil? || params[:nic][:physical_network_id].to_i == 0
- @network = Network.find(params[:nic][:physical_network_id])
- if @network.boot_type.id == @static_boot_type.id
- if params[:ip_address][:id] =...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...debugputs "Speed : #{cpu.speed}"
- debugputs "Cache : #{cpu.cache}"
- debugputs "Flags : #{flags}"
- end
-
- @logger.info "Saved #{cpu_info.length} cpus for #{host_qmf.hostname}"
- end
-
- def update_nics(host_qmf, host_db, nic_info)
-
- # Update the NIC details for this host:
- # -if the NIC exists, then update the IP address
- # -if the NIC does not exist, create it
- # -any nic not in this list is deleted
-
- @logger.info "Updating NIC records for host #...