Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
77 views

The Minimax algorithm only selects the first available move as the best move when none of its pieces are threatened. On an 8x8 board, when it is the bot's turn to play and the Minimax algorithm is ...
0 votes
0 answers
129 views

I'm implementing the Minimax algorithm for a two-player board game using Dart. My approach involves two nested for loops to simulate the maximizing and minimizing players' turns. I've also developed a ...
0 votes
0 answers
45 views

I have a simple neural network model, of 4 layers, that I trained on a numerical dataset of 25K data points. It takes a good time to load the data, whenever I want to evaluate new features to python ...
0 votes
0 answers
28 views

My recent project is based on 'Stock Prediciton" I'm working on df["Open"] as nd.array. Trying to understand intuitively how this works and whether my predicted data will be correct or ...
0 votes
0 answers
44 views

I am a SQL beginner and self learner working on improving my SQL fundamentals. I am trying to use retrieve the min and max Entry_ID to calculate emission values based on certain dates. I have 2 tables ...
1 vote
1 answer
60 views

Right now I am programming a simple game (Capture the Flag) in Java. For creating my AiBots I decided to use minmax with alpha beta pruning. What is the best way to access the position that lead to ...
-2 votes
1 answer
335 views

First of all hello I am trying to implement a tic tac toe game using the minimax algorithm i tried many ways until i got comfortable with this implementation but I am facing some unlogic moves from ...
0 votes
2 answers
485 views

I'm trying to solve the following optimization problem: min max{x + 2y − 1, 2x + 0.5y + 0.75} s.t. x + y = 1, so far i've tried to solve it separately in terms of max and min but im not sure when i ...
Chen's user avatar
  • 1
0 votes
0 answers
41 views

There's a function called "table" that creates a clickable table, where the clicked values are stored in a variable called "board". After initializing the "board", ...
0 votes
2 answers
78 views

I have to process a csv file with millions of lines "value, datetime": I need to find if the value shifted (drop or raise) by GAP_VALUE (first parameter ) within a given time period TIME_GAP ...
Frankie's user avatar
  • 195
0 votes
0 answers
55 views

I found minmax to have very curious behaviour, which I couldn't find explanation for. I would expect below code to overflow if second column has text that's long, "ideal size" should be ...
Marko's user avatar
  • 93
1 vote
1 answer
435 views

My data looks like this: idx,year,month,day,metadata,not_impt,metricx 123,2022,12,02,"blah blah","lah lah",-123.94 123,2022,11,05,"blah blah asd","lah lah",62.4 ...
1 vote
0 answers
144 views

I'm trying to implement Monte Carlo simulation for card game with following rules: 2 players. every player gets same set of 5 different cards. every card can be marked at the back side with circle, ...
-1 votes
1 answer
52 views

I've written following code for a clustering problem: range N=1..10; range M=1..2; float distance[N,N]=...; dvar boolean x[M,N]; dvar float+ Z; minimize Z; subject to { forall(i in N, j in N,...
1 vote
1 answer
91 views

I hope the question title makes sense. If not, here is a specific scenario: Let's say we have an element like so: main { width: 500px; display: grid; grid-template-columns: minmax(200px, 300px) ...

15 30 50 per page
1
2 3 4 5
...
19

AltStyle によって変換されたページ (->オリジナル) /