This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module CubeSolver | |
// Represent the state of a Rubik's Cube | |
type CubeState = | |
{ EdgePositions : int array | |
EdgeFlips : int array | |
CornerPositions : int array | |
CornerTwists : int array } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var da = new DataSet(); | |
var adapter = new OleDbDataAdapter(); | |
var path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); | |
path += "asdf_5.xlsx"; | |
var connectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + path | |
+ @";Extended Properties=""Excel 12.0 Macro;HDR=YES;ImportMixedTypes=Text;TypeGuessRow=0"""; | |
var conn = new OleDbConnection(connectionString); |
NewerOlder