Questions tagged as 'algoritmos'

0
answers

logical programming algorithms

hi community stackoverflow I hope I will not bore you with so much explanation I will try to be a retailer so that you can understand my problem. I need your help to create an algorithm, I'm not asking you to do my work but rather give me some...
asked by 20.09.2018 / 20:59
0
answers

How to implement an N-ary or K-ary tree to make the game 8-Puzzle with A *

How can I implement a tree that saves the father and the list of children in java I have done the following class to store the states. Is there a simple way to fill in the nodes with the possible states of the game 8-Puzzle? public class Nodo...
asked by 13.09.2018 / 07:14
2
answers

try to work recursively algorithm iteratively

Hi, I would like to know if you can handle a recursive algorithm in an iterative way, because I have tried to put a button to run iteratively adding iterations but I can not because the recursive algorithm does it all at once this is the algorit...
asked by 25.03.2018 / 01:32
0
answers

One level of abstraction per function

I was reading the "clean code" book and I arrived at the part where the author says "a level of abstraction by function", where he classifies it as low, medium and high level of abstraction. My question is, what criteria to determine the leve...
asked by 03.03.2018 / 08:01
0
answers

Error signing with SHA-256 algorithms or higher with iTextSharp

I am developing an application to sign PDF documents with the certificates listed in the windows store (Installed, Token, Smart Card) using iTextSharp, my problem is given when using the signature algorithms (since this can be configurable), whe...
asked by 11.01.2018 / 22:55
0
answers

Backtracking | Backpack

I have been trying to do the backpack problem through backtracking. I've got it, the problem is that I can not get the most optimal solution. public List<ObjetoMochila> recursividad(Integer indice,Integer peso,List<ObjetoMochila> l...
asked by 09.10.2017 / 18:42
0
answers

Render HTML in several divs without losing the format

It is possible to render the content of an HTML page in several divs without losing the format / structure of the elements ??? I'm trying to render an HTML content in several containers div (avoiding breaking the format), the...
asked by 06.10.2017 / 21:58
0
answers

Optimize BackTracking

Good morning, I'm trying to optimize this backtracking algorithm that takes me 400ms to execute. Any recommendations to improve the execution time of this algorithm? Test: public class Test { public static void main(String[] args){...
asked by 05.07.2017 / 20:59
1
answer

How can I solve this exercise? C ++ Cycle for

Start programming with for cycle, would you help me try to solve this exercise? Thanks ... Create a program that allows you to enter an entire number from 1 to 12 and show me the multiplication table of that number. #include<stdio.h> #in...
asked by 27.06.2017 / 22:30
0
answers

Help with minimax in OSO game

I have a problem, I am developing the AI paper game AI OSO, it turns out that minimax is designed for players in turns in which whatever the player's move the next turn will correspond to the next, so in the game of BEAR this is not fulfilled be...
asked by 04.07.2017 / 01:42