Questions tagged [stability]

152 questions
0
votes
1 answer

Why is this MergeSort implementation not stable?

I found several mergesort algorithms in the net and pasted together this one. it carries the indices along to keep the information where the element was before. but it turns out, that when i feed in an array which has the same value at each element…
thalm
  • 2,738
  • 2
  • 35
  • 49
-1
votes
1 answer

JSF 2.0 stability issues

Recently we are planning to migrate from JSF1.2 to JSF2.0.Our web application uses RF3.3 and deployed on JBoss Server. However over few months I have heard JSF2.0 is not stable and still JSF 1.2 is preferable provided you dont have any such urgency…
AngelsandDemons
  • 2,823
  • 13
  • 47
  • 70
-1
votes
2 answers

How is developed a strategy that allows you to stabilize any sorting algorithm for an Array with n Elements with "O(n) additional memory"?

For instance, Heap-Sort Algorithm is unstable or Quick Sort depends on the Implementation for stability. This stability must only be provided with O(n) additional memory, not the other strategies. I have tried this question for the whole day, but I…
-1
votes
1 answer

Packet Corruption: Why sometimes ffmpeg .bat batch video editing makes my computer unstable unable to restart?

I'm doing very time consuming ffmpeg video editing. That's why I put my commands into a .bat batch file and run them over night. Usually that works fine, but from time to time when I look the next moring I see an error message of this kind: From…
principal-ideal-domain
  • 3,998
  • 8
  • 36
  • 73
-1
votes
1 answer

How to force stable sort for ArrayList with a custom IComparer?

According to the docs: To perform a stable sort, you must implement a custom IComparer interface. But according to this post. What the documentation appears to be saying is that the only way you can get a stable sort with ArrayList.Sort is to…
123iamking
  • 2,387
  • 4
  • 36
  • 56
-1
votes
1 answer

How to plot Chow-test results in R?

I have run a Chow-test in R using the following code: mydata <- read.csv(file="chow.csv", header=TRUE, sep=",") sctest(fuel~pred, data=mydata, type="Chow", point=44) I am able to successfully obtain the F Statistic and p-value, but I would like to…
-1
votes
1 answer

MATLAB How do I loop the Jacobian and plot the eigenvalues?

I have a system of three equations: inflation, output and interest. All variables are highly interconnected within these equations, however the interest equation is auxiliary. The first step was determining the steady state combinations of inflation…
Sean
  • 35
  • 8
-1
votes
1 answer

need help debugging an unstable program

Following some changes my Arduino sketch became unstable, it only run 1-2 hours and crashes. It's now a month that I am trying to understand but do not make sensible progress: the main difficulty is that the slightest change make it run apparently…
g2c
  • 1
  • 2
-1
votes
1 answer

Slow loading and responsiveness

Our app loads extremely slowly, especially the pictures, and the developer has not been able to come up with a solution to this. The movements are slow and the buttons are slow in response (works on the 2nd or 3rd press). The stability is terrible,…
-1
votes
2 answers

How reliable are modern databases in the presence of disk errors?

InterBase had an architecture that caused disk-writes to leave the database in an always-consistent state -- 97 things every software architect should know, p87 Is this property finally common in 2010 ? Is there a study about database…
wiwulo
  • 201
  • 3
  • 10
-1
votes
1 answer

c power calculation, compiler optimization

so I have recently been working with some probability distributions of order statistics. in that area it is quite common to see lots of formulas with high powers of numbers from the real interval [0, 1]. Consider numbers a ~ b ~ 0, both positive. I…
Jack
  • 195
  • 2
  • 10
-1
votes
1 answer

Stable php api framework/CMF/CMS

I'm searching for a php API that will not change much and that will be supported a long time. I will use a framework or CMS depending on the case of my future works, so it's nice to have both. Here's what I got from my…
UdK
  • 3
  • 1
-2
votes
1 answer

How can i write this algorithm so that it works stable

Assume that we have an Mystery-Sort(A), which takes an array A of length n as input, sorts the numbers in A in non-decreasing order, and returns the sorted array. We do not know whether the algorithm implemented by Mystery-Sort is stable. I need a…
qwers
  • 41
  • 1
  • 6
-2
votes
3 answers

How to stable reverse sort a slice in Go?

I do have 4, 5', 6, 5'' and want to reverse stable sort as 6, 5', 5'', 4 but not 6, 5'', 5', 4 This (invalid) code would not work keys := []int{4, 5', 6, 5''} sort.Stable(sort.Reverse(sort.Ints(keys))) it would produce: 6, 5'', 5', 4 Here the…
Lorenzo Belli
  • 1,767
  • 4
  • 25
  • 46
-2
votes
2 answers

Cycle the CPU [Android]

I have the source for a benchmark test for Android, and I would like to modify it a bit. As of right now, the benchmark test presumably runs the CPU at full load (100%), what I want to do is pause the benchmark test (or something similar in nature)…
Jason John
  • 934
  • 2
  • 12
  • 23
1 2 3
10
11