Skip to content

Heuristics help #5

@Kaskapa

Description

@Kaskapa

I want to use your code to implement a way to find a solution for F2L. I have decided to use corner representation and edge representation for the heuristics which will be in 2 separate files. The corner heuristic will only contain one corner, the F2L pair corner. The heuristic will contain the information about the corners location (One of 8 possible places) and the orientation(one of 3 possible orientations). The edge heuristic will be a bit larger as it will contain information of the cross edges and the corresponding edge piece for the F2L pair.
I have calculated that I will have about 24 lines for the corner heuristic file and 190k for the edge heuristic.
My issue is that I have no idea on how to implement these heuristics in the IDA* algorithm. I know how to generate these states, but the idea of two separate heuristic files just baffles me. I thought maybe you could help me understand this idea and give some recommendations as I am very new at programming, still a student.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions