Questions tagged [parking]
34 questions
0
votes
1 answer
All the thread of pool are WAITING (parking)
I used a thread pool like this: new ThreadPoolExecutor(8, 8, 8, TimeUnit.SECONDS, new LinkedBlockingQueue(2048));
Run it and submit tasks in parallel for a while, then use FutureTask to get the result. It seems normal at the beginning, but…

wangkui
- 43
- 8
0
votes
1 answer
Parking Lot doesn`t save in matrix more than 1 line
So I have this project for my college and I'm stuck here, I tried everything I had in mind to make this code save more than 1 slot, as I must save up to 100 into a matrix database. Everything works great but the program always overwrites the first…

Iulian B.
- 95
- 1
- 1
- 8
0
votes
1 answer
Anylogic traffic software paramters not specified
I am trying to do a similar simulation to this.
Parking randomly in Anylogic
in addition, I would also want to generate graphs for the output
i.e total number of cars leaving the car park garage.
I am facing the issue of
"Description: Parameter…

john zapanta
- 13
- 3
0
votes
1 answer
How to show parking near a specific area using Google API?
I'm trying to show parking around a specific location using the place_id. I'm pretty sure it's just a simple issue, but I'm unable to find the solution in the documentation.
I've tried using origin=place_id: I've tried all variations of place_id;…

cs-tech
- 11
- 1
0
votes
0 answers
how to compare non rectangular ROI using opencv python
I want to detect parking lot,
I already detect each slot using cv2.findcontour and draw it cv2.drawContours(imgB, contours, -1, (0, 255, 0), 1).
Then I want to compare the difference between reference image and input image from cctv using…

andino faturahman
- 39
- 1
- 11
0
votes
4 answers
Java Parking fee calculations
It seems like, I couldn't find the answer for my problem, so here I am, first on Stackoverflow :)
The If statement tree that will be mentioned:
buttonSzamol.addActionListener(new ActionListener() {
@Override
public void…

Bence Varga
- 1
- 1
- 4
0
votes
1 answer
Conditional Event Triggering Anylogic
Is there another way to use the conditional event to monitor parking spots? The end goal is to see on the events output log, when a car has parked and where. I made an event, that calls a function, that runs a loop through each parking space and…

user9463018
- 13
- 5
0
votes
1 answer
Parking randomly in Anylogic
I am using AnyLogic's Traffic Road Library and I know it's possible in the car Source module to define the initial position of the car in a parking lot.
I want the parking lot space to be randomly chosen. I know there is this function…

user9463018
- 13
- 5
0
votes
0 answers
checking for availability for parking spots using laravel and mysql
I have a problem with MYSQL query to get the overlapping with reservations.
We are working at project to book a parking for cars, And we have a problem in searching for availability
if the user searches for a parking between two dates, we need to…

Hamdallah Mahmoud
- 21
- 5
0
votes
1 answer
Creating NFC based parking lot app
I'm in progress of creating NFC based app for parking lot solution. So basically when user taps their NFC enabled phone to the tag, they'll be shown a map of the parking lot.
From there, user will be able to tap into one of the empty parking…

KaeM
- 3
- 2
- 8
-1
votes
1 answer
How to solve "java.lang.IndexOutOfBoundsException" problem via Agent-based modeling in Anylogic?
I met a problem when I want to assign the parking to each order, and then remove the parking-assined order from other parkings' order sets. This array list arr_assignedOrderSet has a size of 22, so it was supposed to iterate 22 times. But I have no…

Yu LIU
- 21
- 2
-1
votes
1 answer
Anylogic - Delay block for parking
Does anyone has any idea on how can I get the value of a function that indicates if there are any empty parking spot on the block or not.
I am using a Queue, and I tried the function nFree() and spaceIndex(), but I get that the two functions are not…

dihaben
- 1
-1
votes
2 answers
OOD - why car/bus/motocycle should derive from vehicle
Suppose we design a parking lot class. There are two ways to define the vehicles.
1)
Abstract class Vehicle {
protected int size;
private string plate;
...
}
class car : Vehicle{
car(){base.size = enum.carSize;}
…

user2512057
- 51
- 1
- 1
- 7
-1
votes
3 answers
(Android) Converting a database full of parking spot coordinates into pindrops on a map
I am trying to fill areas of Seattle with pindrops that will provide information when pressed, but am trying to avoid hard coding each and every pindrop. I think it would be easiest to fill a database (SQLite) with the information and have a method…

klyan
- 5
- 1
- 2
-1
votes
1 answer
Mirroring censored Wordpress website
i wonder if you can help me with a problem a website of mine has been banned in Pakistan and i am trying to mirror it onto another domain that i have. I want to mirror it so that
domain.com/post will also open domain2.com/post
a way i found was to…

Ehsan
- 1