This tag apparently is used as a synonym for "minimax", which seems more appropriate and is better maintained; I would suggest introduction of a tag synonym.
Questions tagged [minmax]
272 questions
0
votes
1 answer
XSL Transform extracting min and max dates
I'm trying to extract min and max dates from an XML source. I'm getting a nodeset into my variables and I need the actual date value within the nodes and can't find how to get it.
Source XML:
…

Rick
- 15
- 1
- 4
0
votes
2 answers
Select min/max from multiple items
I'll try to explain it as simple as possible:
First some database structure with dummy data.
Structure
tb_spec_fk
feature value
-----------------
1 1
1 2
1 3
1 4
1 5
2 2
2 3
3…

Roy
- 4,254
- 5
- 28
- 39
0
votes
1 answer
Min-Max Evaluation function for a game
I'm developing a game(Tank Game 2D),(eg - link ) AI player. My player will be one of 5 other players(AI also) who playing for obtaining maximum coins appears randomly somewhere in the grid.(take a look at the picture given above). Also players can…

Sudheera
- 1,727
- 1
- 12
- 28
-1
votes
2 answers
How to compute minimum and maximum data value from a certain height and width of an image using python?
I have been trying to get the minimum and maximum data value of some datasets for a particular set of height and width. Suppose I do have a numpy image of (256,256). I want to get the minimum and maximum data value of the following red box:
I tried…

Jacob Issac
- 5
- 2
-1
votes
1 answer
Is there a way to make a responsive grid if the columns are not the same size without using media queries?
I am making a webpage which is primarily made of grids, some being inside other grids. I am having trouble making it responsive. My main grid #content has two columns with the following size:
grid-template-columns: 3fr 1fr;
Inside, there is another…

GeorgeCiesinski
- 191
- 1
- 3
- 11
-1
votes
1 answer
How to find the min and max value for each year for an array of objects of historical price data
2800: {Date: '2022-01-14', Open: 514.48999, High: 522.570007, Low: 511.269989, Close: 520.599976, …}
2801: {Date: '2022-01-18', Open: 510.390015, High: 519.390015, Low: 504.980011, Close: 513.340027, …}
2802: {Date: '2022-01-19', Open: 516.47998,…

iuol
- 7
- 4
-1
votes
1 answer
how to keep track of continuous ranges and validate new ones before pushing in javascript array?
we have some ranges of frequency in a 2D array. the inner arrays keep frequency upper and lower bounds ,and outer array is a list of sorted ranges:
/*
[
[L0,U0],
[L1,U1],
[L2,U2]
]
*/
let freqList =…
user18051470
-1
votes
1 answer
how can I find the Min and Max with a for loop
hi I have problem in my code I'm trying to find the minimum height of a plant and the max height of the plant with a for loop but I'm running into a problem and I cant solve it (this in C# BTW)
the code:
int i;
double height, min,…
user17064165
-1
votes
1 answer
Minimax algorithm in Ruby in Object-Oriented way
I am trying to implement minimax algorithm for a tic tac toe game in an object-oriented way. I was a bit stuck with how to deal with reverting the state for my board object once the algorithm determined the best move. When running the program, I…

itiswhatitis
- 1
- 2
-1
votes
1 answer
Get Lowest Time in MM:SS:MS Format on Submit
I am trying to get the lowest time value out of the 3 results that's being generated by a Stopwatch with Lap.
The result of the code below can show the time values in these format:
00:00:56
00:02:34
00:02:15
So, I replaced/removed the Colon(:) in…

Romanov
- 41
- 1
- 7
-1
votes
1 answer
How Normalize Data Mining Min Max from Mysql in Python
This is example of my data in mysql, I use lib flashext.mysql and python 3
RT NK NB SU SK P TNI IK IB TARGET
84876 902 1192 2098 3623 169 39 133 1063 94095
79194 902 1050 2109 3606 153 39 133 806 …

LearnCoding
- 26
- 5
-1
votes
1 answer
How to find 10 max values of a huge csv file?
I'm trying to find the 10 max values of the .csv file that Harris algorithm gives as output. May you help me? I find a way to find the max value but not 10 first.
import cv2
import numpy as np
from numpy import genfromtxt
filename = 'boy.jpg'
img…

ChrisK25
- 23
- 5
-1
votes
1 answer
Calculating frequecy (Min/Max/Average) of order placement in Excel
I need to analyze Weekly order frequencies over last 1 year period to find out what is the min/max/average frequencies of orders for each product.
whether it is new or old,system should calculate the first occurrence of the order in the year as the…

Suma
- 11
- 2
-1
votes
3 answers
Pointer doesn't print the value correctly
I'd like to ask why my code doesn't work I've tired many more things to no avail for some peculiar reason the program can find the minimum value of the array but cannot find the minimum value of it and returns the value 0.000000. Hope the code below…
user9157093
-1
votes
1 answer
new column with max difference in R
I have a dataframe like:
A 1 2 3 4
B 4 5 6 9
C 2 3 4 5
and I want to calculate the maximum difference for each row, and put it in new column:
A 1 2 3 4 3 (4-1)
B 4 5 6 9 3 (9-6)
C 1 3 4 5 4 (5-1)
Any ideas??
Thank you!!!
user7096526