-
Demonstrates 1-D FDTD initial state formation. Please edit the FLAGS for demonstration of different Cases. BASED ON "1-D Digital Waveguide Modeling for Improved Sound Synthesis".
標(biāo)簽:
demonstration
Demonstrates
formation
different
上傳時(shí)間:
2014-07-13
上傳用戶:WMC_geophy
-
Input
The first line of the input contains a single integer T (1 <= T <= 20), the number of test Cases. Then T Cases follow. The first line of each case contains N, and the second line contains N integers giving the time for each people to cross the river. Each case is preceded by a blank line. There won t be more than 1000 people and nobody takes more than 100 seconds to cross.
Output
For each test case, print a line containing the total number of seconds required for all the N people to cross the river.
Sample Input
1
4
1 2 5 10
Sample Output
17
標(biāo)簽:
the
contains
integer
number
上傳時(shí)間:
2015-10-27
上傳用戶:plsee
-
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test Cases.
標(biāo)簽:
represented
integers
group
items
上傳時(shí)間:
2016-01-17
上傳用戶:jeffery
-
ASP開發(fā)指南,里面的西很不錯(cuò)的喲.This book is for anyone who wants to learn about using .NET for web interface design. Beginner or
hobbyist .NET developers can certainly get a good foundation of .NET web interface design by going
through this book from cover to cover. However, more seasoned .NET professionals, especially if they
tend to steer away from the GUI of their projects, can also pick up a thing or two by focusing on certain
chapters that appeal to them. This book is meant to take a reader from the beginning of a project to the
completion of the interface design. Along the way, concepts are illustrated to show how the different
pieces play together. So, anyone who really wants to understand the concepts presented in this book will
be able to do so by reading the entire thing. However, this book should also serve as a good reference
after you have read it or, in some Cases, in place of reading it.
標(biāo)簽:
for
interface
anyone
about
上傳時(shí)間:
2016-02-16
上傳用戶:sjyy1001
-
% EM algorithm for k multidimensional Gaussian mixture estimation
%
% Inputs:
% X(n,d) - input data, n=number of observations, d=dimension of variable
% k - maximum number of Gaussian components allowed
% ltol - percentage of the log likelihood difference between 2 iterations ([] for none)
% maxiter - maximum number of iteration allowed ([] for none)
% pflag - 1 for plotting GM for 1D or 2D Cases only, 0 otherwise ([] for none)
% Init - structure of initial W, M, V: Init.W, Init.M, Init.V ([] for none)
%
% Ouputs:
% W(1,k) - estimated weights of GM
% M(d,k) - estimated mean vectors of GM
% V(d,d,k) - estimated covariance matrices of GM
% L - log likelihood of estimates
%
標(biāo)簽:
multidimensional
estimation
algorithm
Gaussian
上傳時(shí)間:
2013-12-03
上傳用戶:我們的船長
-
UML指南An important part of the Unified Modeling Language (UML) is the facilities for drawing use case
diagrams. Use Cases are used during the analysis phase of a project to identify and partition system
functionality. They separate the system into actors and use Cases.
標(biāo)簽:
facilities
UML
important
the
上傳時(shí)間:
2013-12-23
上傳用戶:417313137
-
this directory
contains the following:
* The acdc algorithm for finding the
approximate general (non-orthogonal)
joint diagonalizer (in the direct Least Squares sense) of a set of Hermitian matrices.
[acdc.m]
* The acdc algorithm for finding the
same for a set of Symmetric matrices.
[acdc_sym.m](note that for real-valued matrices the Hermitian and Symmetric Cases are similar however, in such Cases the Hermitian version
[acdc.m], rather than the Symmetric version[acdc_sym] is preferable.
* A function that finds an initial guess
for acdc by applying hard-whitening
followed by Cardoso s orthogonal joint
diagonalizer. Note that acdc may also
be called without an initial guess,
in which case the initial guess is set by default to the identity matrix.
The m-file includes the joint_diag
function (by Cardoso) for performing
the orthogonal part.
[init4acdc.m]
標(biāo)簽:
approximate
directory
algorithm
the
上傳時(shí)間:
2014-01-17
上傳用戶:hanli8870
-
The authors show to identify, design, implement, test, and refactor use-case modules, as well as extend them. They also demonstrate how to design use-case modules with the Unified Modeling Language (UML)emphasizing enhancements made in UML 2.0and how to achieve use-case modularity using aspect technologies, notably AspectJ.
Key topics include
Making the case for use Cases and aspects
Capturing and modeling concerns with use Cases
Keeping concerns separate with use-case modules
Modeling use-Cases slices and aspects using the newest extensions to the UML notation
Applying use Cases and aspects in projects
標(biāo)簽:
implement
identify
refactor
use-case
上傳時(shí)間:
2016-10-06
上傳用戶:dsgkjgkjg
-
This document contains official rules of the 3D soccer simulation competition
at RoboCup 2006. While we will try to cover all Cases, if unexpected
events do occur, the rule committee will seek input from the
participants and then make a decision. However, once the committee has
made a decision, that decision is final and will not be open to further
discussion
標(biāo)簽:
competition
simulation
document
contains
上傳時(shí)間:
2016-11-30
上傳用戶:zhengzg
-
This function calculates the ergodic and outage capacity of a MIMO Rayleigh
channel considering no CSIT (equal power allocation) and perfect CSIT
(waterfilling power allocation). In both Cases perfect CSIR is assumed. The
channel is assumed to be spatially correlated according to a Kronecker
model but temporally uncorrelated.
標(biāo)簽:
considering
calculates
Rayleigh
function
上傳時(shí)間:
2014-12-02
上傳用戶:pompey