text
stringlengths 31
1.04M
|
---|
/**
* DSL grammar for FIX Orchestra
*/
grammar Score;
EQUAL : ('=='|'eq') ;
NOT_EQUAL : ('!='|'ne') ;
LT : ('<'|'lt') ;
LE : ('<='|'le') ;
GE : ('>='|'ge') ;
GT : ('>'|'gt') ;
ADD : '+' ;
HYPHEN : '-' ;
MUL : '*' ;
DIV : '/' ;
MOD : ('%'|'mod') ;
LPAREN : '(' ;
RPAREN : ')' ;
NOT : '!' ;
OR : ('or' | '||') ;
AND : ('and' | '&&') ;
IN : 'in' ;
LBRACE : '{' ;
RBRACE : '}' ;
LBRACK : '[' ;
RBRACK : ']' ;
VAR : '$' ;
USCORE : '_';
COLON: ':';
DOT: '.';
HASH: '#';
CODE: '^';
EXISTS: 'exists';
anyExpression:
assignment
| expr
;
assignment: var '=' expr ;
expr:
'-' expr # unaryMinus
| '!' expr # logicalNot
| expr op=('*'|'/'|'%'|'mod') expr # mulDiv
| expr op=('+'|'-') expr # addSub
| val=expr 'in' '{' member+=expr (',' member+=expr)* '}' # contains
| val=expr 'between' min=expr 'and' max=expr # range
| expr op=('<'|'<='|'>'|'>='|'lt'|'le'|'gt'|'ge') expr # relational
| expr op=('=='|'!='|'eq'|'ne') expr # equality
| expr op=('and'|'&&') expr # logicalAnd
| expr op=('or'|'||') expr # logicalOr
| '(' expr ')' # parens
| '#' DATETIME '#' # timestamp
| '#' TIME '#' # timeonly
| '#' DATE '#' # dateonly
| '#' PERIOD '#' # duration
| UINT # integer
| DECIMAL # decimal
| CHAR # character
| STRING # string
| 'exists' var # exist
| var # variable // lowest priority so variables do not shadow keywords
;
index: '[' UINT ']' ;
pred: '[' ID '==' expr ']' ;
qual: ID (index | pred)? ;
/**
* $=variable, %=code symbolic name, in=incoming message, out=outgoing message, this=local scope
*/
var: scope=('$'|'^'|'in.'|'out.'|'this.')? qual ('.' qual )*;
DATETIME: DATE 'T' TIME ;
DATE: DIGIT DIGIT DIGIT DIGIT '-' DIGIT DIGIT '-' DIGIT DIGIT ;
TIME: DIGIT DIGIT ':' DIGIT DIGIT (':' DIGIT DIGIT)? ('.' DIGIT+)? TZD ;
fragment
TZD: ('Z' | SIGN DIGIT DIGIT? ':' DIGIT DIGIT );
PERIOD: 'P' (DIGIT+ 'Y')? (DIGIT+ 'M')? (DIGIT+ 'W')? (DIGIT+ 'D')? ('T' (DIGIT+ 'H')? (DIGIT+ 'M' )? (DIGIT+ 'S')?)? ;
DECIMAL: DIGIT+ '.' DIGIT+ ;
UINT: DIGIT+;
STRING: '"' STRINGCHAR+ '"' ;
CHAR: '\'' STRINGCHAR '\'' ;
ID: LETTER (LETTER | DIGIT | '_')* ;
fragment
STRINGCHAR:
~["\\]
| ESC
;
fragment
ESC: '\\' [btnfr"'\\] ;
fragment
LETTER: [a-zA-Z] ;
fragment
NONZERO: [1-9] ;
fragment
DIGIT: [0-9] ;
fragment
SIGN: [+-] ;
WS: [ \t\n\r]+ -> skip ;
COMMENT: '/*' .*? '*/' -> skip ;
LINE_COMMENT: '//' ~[\r\n]* -> skip ;
|
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is machine-generated by ..\lib\unicore\mktables from the Unicode
# database, Version 12.1.0. Any changes made here will be lost!
# !!!!!!! INTERNAL PERL USE ONLY !!!!!!!
# This file is for internal use by core Perl only. The format and even the
# name or existence of this file are subject to change without notice. Don't
# use it directly. Use Unicode::UCD to access the Unicode character data
# base.
return <<'END';
V778
160
161
168
169
170
171
175
176
178
182
184
187
188
191
192
198
199
208
209
215
217
222
224
230
231
240
241
247
249
254
255
272
274
294
296
305
306
312
313
321
323
330
332
338
340
358
360
384
416
418
431
433
452
477
478
484
486
502
504
540
542
544
550
564
688
697
728
734
736
741
832
834
835
837
884
885
890
891
894
895
900
907
908
909
910
913
938
945
970
975
976
983
1008
1011
1012
1014
1017
1018
1024
1026
1027
1028
1031
1032
1036
1039
1049
1050
1081
1082
1104
1106
1107
1108
1111
1112
1116
1119
1142
1144
1217
1219
1232
1236
1238
1240
1242
1248
1250
1256
1258
1270
1272
1274
1415
1416
1570
1575
1653
1657
1728
1729
1730
1731
1747
1748
2345
2346
2353
2354
2356
2357
2392
2400
2507
2509
2524
2526
2527
2528
2611
2612
2614
2615
2649
2652
2654
2655
2888
2889
2891
2893
2908
2910
2964
2965
3018
3021
3144
3145
3264
3265
3271
3273
3274
3276
3402
3405
3546
3547
3548
3551
3635
3636
3763
3764
3804
3806
3852
3853
3907
3908
3917
3918
3922
3923
3927
3928
3932
3933
3945
3946
3955
3956
3957
3962
3969
3970
3987
3988
3997
3998
4002
4003
4007
4008
4012
4013
4025
4026
4134
4135
4348
4349
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6930
6931
6971
6972
6973
6974
6976
6978
6979
6980
7468
7471
7472
7483
7484
7502
7503
7531
7544
7545
7579
7616
7680
7836
7840
7930
7936
7958
7960
7966
7968
8006
8008
8014
8016
8024
8025
8026
8027
8028
8029
8030
8031
8062
8064
8117
8118
8133
8134
8148
8150
8156
8157
8176
8178
8181
8182
8191
8192
8203
8209
8210
8215
8216
8228
8231
8239
8240
8243
8245
8246
8248
8252
8253
8254
8255
8263
8266
8279
8280
8287
8288
8304
8306
8308
8335
8336
8349
8360
8361
8448
8452
8453
8456
8457
8468
8469
8471
8473
8478
8480
8483
8484
8485
8486
8487
8488
8489
8490
8494
8495
8498
8499
8506
8507
8513
8517
8522
8528
8576
8585
8586
8602
8604
8622
8623
8653
8656
8708
8709
8713
8714
8716
8717
8740
8741
8742
8743
8748
8750
8751
8753
8769
8770
8772
8773
8775
8776
8777
8778
8800
8801
8802
8803
8813
8818
8820
8822
8824
8826
8832
8834
8836
8838
8840
8842
8876
8880
8928
8932
8938
8942
9001
9003
9312
9451
10764
10765
10868
10871
10972
10973
11388
11390
11631
11632
11935
11936
12019
12020
12032
12246
12288
12289
12342
12343
12344
12347
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12389
12390
12391
12392
12393
12394
12400
12402
12403
12405
12406
12408
12409
12411
12412
12414
12436
12437
12443
12445
12446
12448
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12485
12486
12487
12488
12489
12490
12496
12498
12499
12501
12502
12504
12505
12507
12508
12510
12532
12533
12535
12539
12542
12544
12593
12687
12690
12704
12800
12831
12832
12872
12880
12927
12928
13312
42652
42654
42864
42865
43000
43002
43868
43872
44032
55204
63744
64014
64016
64017
64018
64019
64021
64031
64032
64033
64034
64035
64037
64039
64042
64110
64112
64218
64256
64263
64275
64280
64285
64286
64287
64311
64312
64317
64318
64319
64320
64322
64323
64325
64326
64434
64467
64830
64848
64912
64914
64968
65008
65021
65040
65050
65072
65093
65095
65107
65108
65127
65128
65132
65136
65139
65140
65141
65142
65277
65281
65471
65474
65480
65482
65488
65490
65496
65498
65501
65504
65511
65512
65519
69786
69787
69788
69789
69803
69804
69934
69936
70475
70477
70843
70845
70846
70847
71098
71100
119134
119141
119227
119233
119808
119893
119894
119965
119966
119968
119970
119971
119973
119975
119977
119981
119982
119994
119995
119996
119997
120004
120005
120070
120071
120075
120077
120085
120086
120093
120094
120122
120123
120127
120128
120133
120134
120135
120138
120145
120146
120486
120488
120780
120782
120832
126464
126468
126469
126496
126497
126499
126500
126501
126503
126504
126505
126515
126516
126520
126521
126522
126523
126524
126530
126531
126535
126536
126537
126538
126539
126540
126541
126544
126545
126547
126548
126549
126551
126552
126553
126554
126555
126556
126557
126558
126559
126560
126561
126563
126564
126565
126567
126571
126572
126579
126580
126584
126585
126589
126590
126591
126592
126602
126603
126620
126625
126628
126629
126634
126635
126652
127232
127243
127248
127279
127280
127312
127338
127341
127376
127377
127488
127491
127504
127548
127552
127561
127568
127570
194560
195102
END
|
; A000973: Fermat coefficients.
; 1,15,99,429,1430,3978,9690,21318,43263,82225,148005,254475,420732,672452,1043460,1577532,2330445,3372291,4790071,6690585,9203634,12485550,16723070,22137570,28989675,37584261,48275865,61474519,77652024,97348680,121180488,149846840,184138713,224947383,273273675,330237765,397089550,475219602,566170722,671650110,793542167,933921945,1095069261,1279483491,1489899060,1729301644,2000945100,2308369140,2655417765,3046258475,3485402271,3977724465,4528486314,5143357494,5828439430,6590289498,7435946115,8372954733,9409394753,10553907375,11815724400,13204698000,14731331472,16406810992,18243038385,20252664927,22449126195,24846677981,27460433286,30306400410,33401522154,36763716150,40411916335,44366115585,48647409525,53278041531,58281448940,63682310484,69506594964,75781611180,82536059133,89800082515,97605322503,105984972873,114973836450,124608382910,134926807950,145969093842,157777071387,170394483285,183867048937,198242530695,213570801576,229903914456,247296172760,265804202664,285487026825,306406139655,328625584155,352212030325
mul $0,2
add $0,8
bin $0,7
div $0,8
|
program prepro
use TermClass
use DictionaryClass
use PreprocessingClass
use PostProcessingClass
implicit none
type(Dictionary_) :: InfileList
type(MPI_) :: MPIData
type(PreProcessing_) :: Root,Soil
type(Term_) :: term
integer :: ans
character * 200 :: name,ElemType,SolverName
call MPIData%Start()
call term%Init()
ElemType = 'LinearRectangularGp4'
call InfileList%Init(1)
call InfileList%Input(1,'Tutorial/LeafImageData/grass_traced.png')
name = InfileList%Get(MPIData%MyRank+1)
print *, "My_rank : ",MPIData%MyRank,"InfileName : ",trim(name)
call Root%Init(Default=.true.)
call Root%ImportPictureName(name)
call Root%GetPixcelSize(MPIData)
call Root%SetColor(0,128,0)
call Root%ConvertMesh2Scf(MPIData,ElementType=ElemType)
call Root%Convert3Dto2D()
call Root%SetScale(scalex=7.0d0,scaley=113.0d0)
SolverName="DiffusionEq_"
call Root%SetSolver(InSolverType=SolverName)
call Root%SetUp(NoFacetMode=.true.)
call Root%Reverse()
call Root%Convert2Dto3D(Thickness=0.250d0,division=4)
call Root%SetMatPara(MaterialID=1,parameterID=1,Val=1.0d0)
call Root%SetMatID(MaterialID=1,Xmin=-1000000000000.00d0,&
Xmax=1000000000000.00d0,&
Ymin=-1000000000000.00d0,&
Ymax=1000000000000.00d0,&
Zmin=-1000000000000.00d0,&
Zmax=1000000000000.00d0,&
Tmin=-1000000000000.00d0,&
Tmax=1000000000000.00d0)
call Root%SetSizeOfBC(Dirichlet=.true.,NumOfValue=1)
call Root%SetBC(Dirichlet=.true., val=0.00d0,val_id=1,Xmin=-1000000000000.00d0,&
Xmax=1000000000000.00d0,&
Ymin=-25.00d0,&
Ymax=-1.00d0,&
Zmin=-1000000000000.00d0,&
Zmax=1000000000000.00d0,&
Tmin=-1000000000000.00d0,&
Tmax=1000000000000.00d0)
call Root%SetControlPara(OptionalItrTol=100,OptionalTimestep=100,OptionalSimMode=1)
call Root%Export(Name="Tutorial/LeafImageData/test")
call MPIData%End()
end program prepro
|
# Future Imports for py2/3 backwards compat.
from __future__ import (absolute_import, division, print_function,
unicode_literals)
from os import path
from .load_unittest import *
from future import standard_library
standard_library.install_aliases()
NexposeTestSuite = unittest.TestLoader().discover(path.dirname(__file__), "test_*.py")
def main():
runner = unittest.TextTestRunner(verbosity=2)
runner.run(NexposeTestSuite)
|
package org.grails.compiler.web.taglib
import grails.artefact.Artefact
import grails.compiler.ast.ClassInjector
import grails.test.mixin.TestFor
import org.grails.compiler.injection.GrailsAwareClassLoader
import spock.lang.Issue
import spock.lang.Specification
@TestFor(ClosureMethodTestTagLib)
class TagLibraryTransformerSpec extends Specification {
void 'Test tag methods are created for properties which are tags'() {
expect:
/*
* Tag methods are overloaded with these argument combinations:
* tagName()
* tagName(Map)
* tagName(Closure)
* tagName(Map, Closure)
* tagName(Map, CharSequence)
*/
5 == ClosureMethodTestTagLib.methods.findAll { methodName == it.name }.size()
where:
methodName << ['closureTagWithNoExplicitArgs', 'closureTagWithOneArg', 'closureTagWithTwoArgs']
}
void 'Test tag methods are not created for properties which are not tags'() {
expect:
0 == ClosureMethodTestTagLib.methods.findAll { methodName == it.name }.size()
where:
methodName << ['closureTagWithThreeArgs', 'closureTagWithFourArgs']
}
@Issue('GRAILS-11241')
void 'Test that a tag libary can be marked with @CompileStatic without generating compile errors'() {
given:
def gcl = new GrailsAwareClassLoader()
def transformer = new TagLibraryTransformer() {
@Override
boolean shouldInject(URL url) { true }
}
gcl.classInjectors = [transformer] as ClassInjector[]
expect:
gcl.parseClass('''
@groovy.transform.CompileStatic
class StaticallyCompiledTagLib implements grails.artefact.TagLibrary{
def closureTagWithNoExplicitArgs = { }
def closureTagWithOneArg = { attrs -> }
def closureTagWithTwoArgs = { attrs, body -> }
}
''')
}
}
@Artefact('TagLib')
class ClosureMethodTestTagLib {
def closureTagWithNoExplicitArgs = { }
def closureTagWithOneArg = { attrs -> }
def closureTagWithTwoArgs = { attrs, body -> }
def closureTagWithThreeArgs = { attrs, body, extra -> }
def closureTagWithFourArgs = { attrs, body, extra, anotherExtra -> }
}
|
package be.cytomine.search
/*
* Copyright (c) 2009-2021. Authors: see NOTICE file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import be.cytomine.image.ImageInstance
import be.cytomine.project.Project
import be.cytomine.security.User
import be.cytomine.test.BasicInstanceBuilder
import be.cytomine.test.Infos
import be.cytomine.test.http.ImageInstanceAPI
import be.cytomine.test.http.ProjectAPI
import grails.converters.JSON
import org.codehaus.groovy.grails.web.json.JSONArray
import org.codehaus.groovy.grails.web.json.JSONObject
class ImageInstanceSearchTests {
//bounds
void testGetBounds(){
Project project = BasicInstanceBuilder.getProjectNotExist(true)
ImageInstance img1 = BasicInstanceBuilder.getImageInstanceNotExist(project, true)
img1.baseImage.width = 500
img1.save()
BasicInstanceBuilder.getUserAnnotationNotExist(img1.project, img1, true)
img1 = img1.refresh()
ImageInstance img2 = BasicInstanceBuilder.getImageInstanceNotExist(project, true)
def result = ImageInstanceAPI.getBounds(project.id, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
def json = JSON.parse(result.data)
assert json.containsKey("height")
assert json.containsKey("width")
assert json.containsKey("countImageAnnotations")
assert json.containsKey("countImageJobAnnotations")
assert json.containsKey("countImageReviewedAnnotations")
assert json.containsKey("magnification")
assert json.containsKey("resolution")
assert json.resolution.containsKey("list")
assert json.magnification.containsKey("list")
assert json.containsKey("format")
assert json.containsKey("mimeType")
def widths = [img1.baseImage.width, img2.baseImage.width]
def annots = [img1.countImageAnnotations, img2.countImageAnnotations]
assert json.width.min == widths.min()
assert json.width.max == widths.max()
assert json.countImageAnnotations.min == annots.min()
assert json.countImageAnnotations.max == annots.max()
}
//search
void testGetSearch(){
Project project = BasicInstanceBuilder.getProjectNotExist(true)
project.blindMode = true
BasicInstanceBuilder.saveDomain(project)
ImageInstance img1 = BasicInstanceBuilder.getImageInstanceNotExist(project, true)
img1.baseImage.width = 499
img1.setInstanceFilename("TEST")
BasicInstanceBuilder.saveDomain(img1)
img1 = img1.refresh()
BasicInstanceBuilder.getUserAnnotationNotExist(img1.project, img1, true)
ImageInstance img2 = BasicInstanceBuilder.getImageInstanceNotExist(project, true)
def result = ImageInstanceAPI.listByProject(project.id, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
def json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
long size = json.size
assert size == 2
def searchParameters = [[operator : "lte", field : "width", value:500], [operator : "lte", field : "numberOfAnnotations", value:1000]]
result = ImageInstanceAPI.listByProject(project.id, 0,0, searchParameters, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == 1
searchParameters = [[operator : "gte", field : "numberOfAnnotations", value:1]]
result = ImageInstanceAPI.listByProject(project.id, 0,0, searchParameters, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == 1
searchParameters = [[operator : "lte", field : "width", value:100000], [operator : "lte", field : "numberOfAnnotations", value:10000]]
result = ImageInstanceAPI.listByProject(project.id, 0,0, searchParameters, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == 2
searchParameters = [[operator : "lte", field : "width", value:5000], [operator : "gte", field : "numberOfAnnotations", value:10000]]
result = ImageInstanceAPI.listByProject(project.id, 0,0, searchParameters, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == 0
searchParameters = [[operator : "equals", field : "baseImage", value:img1.getBaseImage().id]]
result = ImageInstanceAPI.listByProject(project.id, 0,0, searchParameters, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size > 0
assert json.collection.collect{it.baseImage}.every{it == img1.getBaseImage().id}
searchParameters = [[operator : "ilike", field : "name", value:img1.getInstanceFilename()]]
result = ImageInstanceAPI.listByProject(project.id, 0,0, searchParameters, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == 1
println img1.getInstanceFilename()
assert ImageInstanceAPI.containsInJSONList(img1.id,json)
User user1 = BasicInstanceBuilder.getUser(Infos.ADMINLOGIN, Infos.ADMINPASSWORD)
ProjectAPI.addUserProject(project.id, user1.id, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
result = ImageInstanceAPI.listByProject(project.id, 0,0, searchParameters, Infos.ADMINLOGIN, Infos.ADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
println img1.getInstanceFilename()
assert !ImageInstanceAPI.containsInJSONList(img1.id,json)
searchParameters = [[operator : "ilike", field : "instanceFilename", value:img1.getInstanceFilename()]]
result = ImageInstanceAPI.listByProject(project.id, 0,0, searchParameters, Infos.ADMINLOGIN, Infos.ADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
println img1.getInstanceFilename()
assert !ImageInstanceAPI.containsInJSONList(img1.id,json)
project.blindMode = false
BasicInstanceBuilder.saveDomain(project)
result = ImageInstanceAPI.listByProject(project.id, 0,0, searchParameters, Infos.ADMINLOGIN, Infos.ADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == 1
println img1.getInstanceFilename()
assert ImageInstanceAPI.containsInJSONList(img1.id,json)
}
/*
* Sort to test : blindedName, instanceFilename, magnification, numberOfAnnotations, numberOfJobAnnotations, numberOfReviewedAnnotations
*/
//pagination
void testListImagesInstanceByProject() {
BasicInstanceBuilder.getImageInstance()
BasicInstanceBuilder.getImageInstanceNotExist(BasicInstanceBuilder.getImageInstance().project, true)
def result = ImageInstanceAPI.listByProject(BasicInstanceBuilder.getProject().id, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
def json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
long size = json.size
assert size > 1
Long id1 = json.collection[0].id
Long id2 = json.collection[1].id
result = ImageInstanceAPI.listByProject(BasicInstanceBuilder.getProject().id, 1, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == size
assert json.collection.size() == 1
assert json.collection[0].id == id1
result = ImageInstanceAPI.listByProject(BasicInstanceBuilder.getProject().id, 1, 1, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == size
assert json.collection.size() == 1
assert json.collection[0].id == id2
}
void testListImagesInstanceByProjectWithLastActivity() {
ImageInstance img = BasicInstanceBuilder.getImageInstanceNotExist(BasicInstanceBuilder.getProjectNotExist(true), true)
BasicInstanceBuilder.getImageConsultationNotExist(img, true)
BasicInstanceBuilder.getImageInstanceNotExist(img.project, true)
def result = ImageInstanceAPI.listByProjectWithLastActivity(img.project.id, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
def json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
long size = json.size
assert size > 1
Long id1 = json.collection[0].id
Long id2 = json.collection[1].id
result = ImageInstanceAPI.listByProjectWithLastActivity(img.project.id, 1, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == size
assert json.collection.size() == 1
assert json.collection[0].id == id1
result = ImageInstanceAPI.listByProjectWithLastActivity(img.project.id, 1, 1, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size == size
assert json.collection.size() == 1
assert json.collection[0].id == id2
}
void testListImagesInstanceByProjectLight() {
Project project = BasicInstanceBuilder.getProjectNotExist(true)
BasicInstanceBuilder.getImageInstanceNotExist(project, true)
BasicInstanceBuilder.getImageInstanceNotExist(project, true)
def result = ImageInstanceAPI.listByProjectLight(project.id, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
def json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
long size = json.size
assert size > 1
Long id1 = json.collection[0].id
Long id2 = json.collection[1].id
result = ImageInstanceAPI.listByProjectLight(project.id, 1, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.collection.size() == 1
assert size == json.size
assert json.collection[0].id == id1
result = ImageInstanceAPI.listByProjectLight(project.id, 1, 1, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.collection.size() == 1
assert size == json.size
assert json.collection[0].id == id2
}
void testListImagesInstanceByUserLight() {
Project project = BasicInstanceBuilder.getProjectNotExist(true)
BasicInstanceBuilder.getImageInstanceNotExist(project, true)
BasicInstanceBuilder.getImageInstanceNotExist(project, true)
def result = ImageInstanceAPI.listLightByUser(BasicInstanceBuilder.getUser1().id,Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
def json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
long size = json.size
assert size > 1
Long id1 = json.collection[0].id
Long id2 = json.collection[1].id
result = ImageInstanceAPI.listLightByUser(BasicInstanceBuilder.getUser1().id, 1, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.collection.size() == 1
assert size == json.size
assert json.collection[0].id == id1
result = ImageInstanceAPI.listLightByUser(BasicInstanceBuilder.getUser1().id, 1, 1, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.collection.size() == 1
assert size == json.size
assert json.collection[0].id == id2
}
void testListImagesInstanceByUser() {
Project project = BasicInstanceBuilder.getProjectNotExist(true)
ImageInstance img1 = BasicInstanceBuilder.getImageInstanceNotExist(project, true)
img1.baseImage.width = 499
img1.setInstanceFilename("TEST")
img1.save(flush: true)
img1 = img1.refresh()
BasicInstanceBuilder.getUserAnnotationNotExist(img1.project, img1, true)
BasicInstanceBuilder.getImageInstanceNotExist(project, true)
def user = BasicInstanceBuilder.getUser(BasicInstanceBuilder.getRandomString(), BasicInstanceBuilder.getRandomString())
ProjectAPI.addAdminProject(project.id, user.id, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
def result = ImageInstanceAPI.listByUser(user.id, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
def json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.size > 1
def searchParameters = [[operator : "lte", field : "width", value:500], [operator : "lte", field : "numberOfAnnotations", value:1000]]
result = ImageInstanceAPI.listByUser(user.id, searchParameters, 0, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.collection.size() == 1
assert ImageInstanceAPI.containsInJSONList(img1.id,json)
searchParameters = [[operator : "gte", field : "numberOfAnnotations", value:1]]
result = ImageInstanceAPI.listByUser(user.id, searchParameters, 0, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.collection.size() == 1
assert ImageInstanceAPI.containsInJSONList(img1.id,json)
searchParameters = [[operator : "ilike", field : "name", value:img1.getInstanceFilename()]]
result = ImageInstanceAPI.listByUser(user.id, searchParameters, 0, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.collection.size() == 1
assert ImageInstanceAPI.containsInJSONList(img1.id,json)
def user2 = BasicInstanceBuilder.getUser(BasicInstanceBuilder.getRandomString(), BasicInstanceBuilder.getRandomString())
ProjectAPI.addUserProject(project.id, user2.id, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
searchParameters = [[operator : "ilike", field : "name", value:img1.getInstanceFilename()]]
result = ImageInstanceAPI.listByUser(user2.id, searchParameters, 0, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.collection.size() == 1
assert ImageInstanceAPI.containsInJSONList(img1.id,json)
assert json.collection[0].blindedName instanceof JSONObject.Null
project.blindMode = true
project = project.save(validate: true, flush: true)
searchParameters = [[operator : "ilike", field : "name", value:img1.getInstanceFilename()]]
result = ImageInstanceAPI.listByUser(user2.id, searchParameters, 0, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert !ImageInstanceAPI.containsInJSONList(img1.id,json)
result = ImageInstanceAPI.listByUser(user.id, searchParameters, 0, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert ImageInstanceAPI.containsInJSONList(img1.id,json)
searchParameters = [[operator : "ilike", field : "name", value:img1.getFileName()]]
result = ImageInstanceAPI.listByUser(user2.id, searchParameters, 0, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json.collection instanceof JSONArray
assert json.collection.size() == 1
assert ImageInstanceAPI.containsInJSONList(img1.id,json)
println "project.blindMode : ${project.blindMode}"
assert json.collection[0].blindedName == json.collection[0].baseImage.toString()
}
void testListByProjectTree() {
Project project = BasicInstanceBuilder.getProjectNotExist(true)
BasicInstanceBuilder.getImageInstanceNotExist(project, true)
BasicInstanceBuilder.getImageInstanceNotExist(project, true)
def result = ImageInstanceAPI.listByProjectTree(project.id,Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
def json = JSON.parse(result.data)
assert json instanceof JSONObject
long size = json.size
assert size > 1
Long id1 = json.children[0].id
Long id2 = json.children[1].id
result = ImageInstanceAPI.listByProjectTree(project.id, 1, 0, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json instanceof JSONObject
assert json.children.size() == 1
assert size == json.size
assert json.children[0].id == id1
result = ImageInstanceAPI.listByProjectTree(project.id, 1, 1, Infos.SUPERADMINLOGIN, Infos.SUPERADMINPASSWORD)
assert 200 == result.code
json = JSON.parse(result.data)
assert json instanceof JSONObject
assert json.children.size() == 1
assert size == json.size
assert json.children[0].id == id2
}
}
|
with Ada.Streams; use Ada.Streams;
with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO;
with Ada.Streams.Stream_IO.Standard_Files; use Ada.Streams.Stream_IO.Standard_Files;
procedure streamcat is
E : Stream_Element_Array (1 .. 1);
Last : Stream_Element_Offset;
begin
while not End_Of_File (Standard_Input.all) loop
Read (Standard_Input.all, E, Last);
Write (Standard_Output.all, E);
end loop;
end streamcat;
|
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- S Y S T E M . C R C 3 2 --
-- --
-- S p e c --
-- --
-- Copyright (C) 2001-2019, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- This package provides routines for computing a commonly used checksum
-- called CRC-32. This is a checksum based on treating the binary data
-- as a polynomial over a binary field, and the exact specifications of
-- the CRC-32 algorithm are as follows:
--
-- Name : "CRC-32"
-- Width : 32
-- Poly : 04C11DB7
-- Init : FFFFFFFF
-- RefIn : True
-- RefOut : True
-- XorOut : FFFFFFFF
-- Check : CBF43926
--
-- Note that this is the algorithm used by PKZip, Ethernet and FDDI.
--
-- For more information about this algorithm see:
--
-- ftp://ftp.rocksoft.com/papers/crc_v3.txt
-- "A Painless Guide to CRC Error Detection Algorithms", Ross N. Williams
--
-- "Computation of Cyclic Redundancy Checks via Table Look-Up", Communications
-- of the ACM, Vol. 31 No. 8, pp.1008-1013 Aug. 1988. Sarwate, D.V.
pragma Compiler_Unit_Warning;
with Interfaces;
package System.CRC32 is
type CRC32 is new Interfaces.Unsigned_32;
-- Used to represent CRC32 values, which are 32 bit bit-strings
procedure Initialize (C : out CRC32);
pragma Inline (Initialize);
-- Initialize CRC value by assigning the standard Init value (16#FFFF_FFFF)
procedure Update
(C : in out CRC32;
Value : Character);
pragma Inline (Update);
-- Evolve CRC by including the contribution from Character'Pos (Value)
function Get_Value (C : CRC32) return Interfaces.Unsigned_32;
pragma Inline (Get_Value);
-- Get_Value computes the CRC32 value by performing an XOR with the
-- standard XorOut value (16#FFFF_FFFF). Note that this does not
-- change the value of C, so it may be used to retrieve intermediate
-- values of the CRC32 value during a sequence of Update calls.
end System.CRC32;
|
\[\mathop{\cosh\/}\nolimits x\leq\left(\frac{\mathop{\sinh\/}\nolimits x}{x}%
\right)^{3},\] |
-- Copyright 2006-2021 Mitchell. See LICENSE.
-- Lua LPeg lexer.
-- Original written by Peter Odding, 2007/04/04.
local lexer = require('lexer')
local token, word_match = lexer.token, lexer.word_match
local B, P, S = lpeg.B, lpeg.P, lpeg.S
local lex = lexer.new('lua')
-- Whitespace.
lex:add_rule('whitespace', token(lexer.WHITESPACE, lexer.space^1))
-- Keywords.
lex:add_rule('keyword', token(lexer.KEYWORD, word_match{
'and', 'break', 'do', 'else', 'elseif', 'end', 'false', 'for', 'function', 'if', 'in', 'local',
'nil', 'not', 'or', 'repeat', 'return', 'then', 'true', 'until', 'while',
-- Added in 5.2.
'goto'
}))
-- Functions and deprecated functions.
local func = token(lexer.FUNCTION, word_match{
'assert', 'collectgarbage', 'dofile', 'error', 'getmetatable', 'ipairs', 'load', 'loadfile',
'next', 'pairs', 'pcall', 'print', 'rawequal', 'rawget', 'rawset', 'require', 'select',
'setmetatable', 'tonumber', 'tostring', 'type', 'xpcall',
-- Added in 5.2.
'rawlen',
-- Added in 5.4.
'warn'
})
local deprecated_func = token('deprecated_function', word_match{
-- Deprecated in 5.2.
'getfenv', 'loadstring', 'module', 'setfenv', 'unpack'
})
lex:add_rule('function', -B('.') * (func + deprecated_func))
lex:add_style('deprecated_function', lexer.styles['function'] .. {italics = true})
-- Constants.
lex:add_rule('constant', token(lexer.CONSTANT, -B('.') * word_match{
'_G', '_VERSION',
-- Added in 5.2.
'_ENV'
}))
-- Libraries and deprecated libraries.
local library = token('library', word_match{
-- Coroutine.
'coroutine', 'coroutine.create', 'coroutine.resume', 'coroutine.running', 'coroutine.status',
'coroutine.wrap', 'coroutine.yield',
-- Coroutine added in 5.3.
'coroutine.isyieldable',
-- Coroutine added in 5.4.
'coroutine.close',
-- Module.
'package', 'package.cpath', 'package.loaded', 'package.loadlib', 'package.path',
'package.preload',
-- Module added in 5.2.
'package.config', 'package.searchers', 'package.searchpath',
-- UTF-8 added in 5.3.
'utf8', 'utf8.char', 'utf8.charpattern', 'utf8.codepoint', 'utf8.codes', 'utf8.len',
'utf8.offset',
-- String.
'string', 'string.byte', 'string.char', 'string.dump', 'string.find', 'string.format',
'string.gmatch', 'string.gsub', 'string.len', 'string.lower', 'string.match', 'string.rep',
'string.reverse', 'string.sub', 'string.upper',
-- String added in 5.3.
'string.pack', 'string.packsize', 'string.unpack',
-- Table.
'table', 'table.concat', 'table.insert', 'table.remove', 'table.sort',
-- Table added in 5.2.
'table.pack', 'table.unpack',
-- Table added in 5.3.
'table.move',
-- Math.
'math', 'math.abs', 'math.acos', 'math.asin', 'math.atan', 'math.ceil', 'math.cos', 'math.deg',
'math.exp', 'math.floor', 'math.fmod', 'math.huge', 'math.log', 'math.max', 'math.min',
'math.modf', 'math.pi', 'math.rad', 'math.random', 'math.randomseed', 'math.sin', 'math.sqrt',
'math.tan',
-- Math added in 5.3.
'math.maxinteger', 'math.mininteger', 'math.tointeger', 'math.type', 'math.ult',
-- IO.
'io', 'io.close', 'io.flush', 'io.input', 'io.lines', 'io.open', 'io.output', 'io.popen',
'io.read', 'io.stderr', 'io.stdin', 'io.stdout', 'io.tmpfile', 'io.type', 'io.write',
-- OS.
'os', 'os.clock', 'os.date', 'os.difftime', 'os.execute', 'os.exit', 'os.getenv', 'os.remove',
'os.rename', 'os.setlocale', 'os.time', 'os.tmpname',
-- Debug.
'debug', 'debug.debug', 'debug.gethook', 'debug.getinfo', 'debug.getlocal', 'debug.getmetatable',
'debug.getregistry', 'debug.getupvalue', 'debug.sethook', 'debug.setlocal', 'debug.setmetatable',
'debug.setupvalue', 'debug.traceback',
-- Debug added in 5.2.
'debug.getuservalue', 'debug.setuservalue', 'debug.upvalueid', 'debug.upvaluejoin'
})
local deprecated_library = token('deprecated_library', word_match{
-- Module deprecated in 5.2.
'package.loaders', 'package.seeall',
-- Table deprecated in 5.2.
'table.maxn',
-- Math deprecated in 5.2.
'math.log10',
-- Math deprecated in 5.3.
'math.atan2', 'math.cosh', 'math.frexp', 'math.ldexp', 'math.pow', 'math.sinh', 'math.tanh',
-- Bit32 deprecated in 5.3.
'bit32', 'bit32.arshift', 'bit32.band', 'bit32.bnot', 'bit32.bor', 'bit32.btest', 'bit32.extract',
'bit32.lrotate', 'bit32.lshift', 'bit32.replace', 'bit32.rrotate', 'bit32.rshift', 'bit32.xor',
-- Debug deprecated in 5.2.
'debug.getfenv', 'debug.setfenv'
})
lex:add_rule('library', -B('.') * (library + deprecated_library))
lex:add_style('library', lexer.styles.type)
lex:add_style('deprecated_library', lexer.styles.type .. {italics = true})
-- Identifiers.
lex:add_rule('identifier', token(lexer.IDENTIFIER, lexer.word))
-- Strings.
local sq_str = lexer.range("'")
local dq_str = lexer.range('"')
local longstring = lpeg.Cmt('[' * lpeg.C(P('=')^0) * '[', function(input, index, eq)
local _, e = input:find(']' .. eq .. ']', index, true)
return (e or #input) + 1
end)
lex:add_rule('string', token(lexer.STRING, sq_str + dq_str) + token('longstring', longstring))
lex:add_style('longstring', lexer.styles.string)
-- Comments.
local line_comment = lexer.to_eol('--')
local block_comment = '--' * longstring
lex:add_rule('comment', token(lexer.COMMENT, block_comment + line_comment))
-- Numbers.
local lua_integer = P('-')^-1 * (lexer.hex_num + lexer.dec_num)
lex:add_rule('number', token(lexer.NUMBER, lexer.float + lua_integer))
-- Labels.
lex:add_rule('label', token(lexer.LABEL, '::' * lexer.word * '::'))
-- Attributes.
lex:add_rule('attribute', token('attribute', '<' * lexer.space^0 * word_match('const close') *
lexer.space^0 * '>'))
lex:add_style('attribute', lexer.styles.class)
-- Operators.
lex:add_rule('operator', token(lexer.OPERATOR, '..' + S('+-*/%^#=<>&|~;:,.{}[]()')))
-- Fold points.
local function fold_longcomment(text, pos, line, s, symbol)
if symbol == '[' then
if line:find('^%[=*%[', s) then return 1 end
elseif symbol == ']' then
if line:find('^%]=*%]', s) then return -1 end
end
return 0
end
lex:add_fold_point(lexer.KEYWORD, 'if', 'end')
lex:add_fold_point(lexer.KEYWORD, 'do', 'end')
lex:add_fold_point(lexer.KEYWORD, 'function', 'end')
lex:add_fold_point(lexer.KEYWORD, 'repeat', 'until')
lex:add_fold_point(lexer.COMMENT, '[', fold_longcomment)
lex:add_fold_point(lexer.COMMENT, ']', fold_longcomment)
lex:add_fold_point(lexer.COMMENT, lexer.fold_consecutive_lines('--'))
lex:add_fold_point('longstring', '[', ']')
lex:add_fold_point(lexer.OPERATOR, '(', ')')
lex:add_fold_point(lexer.OPERATOR, '[', ']')
lex:add_fold_point(lexer.OPERATOR, '{', '}')
return lex
|
sub TIESCALAR { # in ScalarFile.pm
my $class = shift;
my $filename = shift;
$count++; # A file-scoped lexical, private to class
return bless \$filename, $class;
}
|
// Copyright 2020 Alibaba Group Holding Limited. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
syntax = "proto3";
package gs.rpc;
enum ClusterType {
HOSTS = 0;
K8S = 1;
UNDEFINED = 100;
};
// Basic data types
enum DataType {
NULLVALUE = 0;
INT8 = 1;
INT16 = 2;
INT32 = 3;
INT64 = 4;
INT128 = 5;
UINT8 = 6;
UINT16 = 7;
UINT32 = 8;
UINT64 = 9;
UINT128 = 10;
INT = 11;
LONG = 12;
LONGLONG = 13;
UINT = 14;
ULONG = 15;
ULONGLONG = 16;
FLOAT = 18;
DOUBLE = 19;
BOOLEAN = 20;
STRING = 21;
DATETIME = 22;
LIST = 23;
INVALID = 536870911;
};
enum Direction {
NONE = 0;
IN = 1;
OUT = 2;
};
// defined by GRAPE
enum OutputType {
GRAPH = 0;
APP = 1;
BOUND_APP = 2;
RESULTS = 3;
TENSOR = 4;
DATAFRAME = 5;
VINEYARD_TENSOR = 6;
VINEYARD_DATAFRAME = 7;
INTERACTIVE_QUERY = 8;
GREMLIN_RESULTS = 9;
LEARNING_GRAPH = 10;
NULL_OUTPUT = 101;
};
enum OperationType {
// command
CREATE_GRAPH = 0; // return output_type = graph
BIND_APP = 1; // return app
CREATE_APP = 2; // do nothing
MODIFY_VERTICES = 3; // return graph
MODIFY_EDGES = 4; // return graph
RUN_APP = 5; // return result
UNLOAD_APP = 6;
UNLOAD_GRAPH = 7;
REPARTITION = 8; // return graph
TRANSFORM_GRAPH = 9; // return graph or nx_graph
REPORT_GRAPH = 10; // return scalar
PROJECT_GRAPH = 11; // return graph, general form project
PROJECT_TO_SIMPLE = 12; // return graph, specifically project to a simple graph
COPY_GRAPH = 13;
ADD_VERTICES = 14; // not used, leaves room for future development
ADD_EDGES = 15; // not used, leaves room for future development
ADD_LABELS = 16; // return graph, add new label of vertices or label of edges to existed graph
TO_DIRECTED = 17; // return graph, generate directed graph from undirected graph
TO_UNDIRECTED = 18; // return graph, generate undirected graph from directed graph
CLEAR_EDGES = 19; // clear edges
CLEAR_GRAPH = 20; // clear graph
VIEW_GRAPH = 21; // create graph view
INDUCE_SUBGRAPH = 22; // induce subgraph
CREATE_INTERACTIVE_QUERY = 31; // interactive query
SUBGRAPH = 32; // subgraph in interactive query
GREMLIN_QUERY = 33; // queries on gremlin engine
FETCH_GREMLIN_RESULT = 34;
CLOSE_INTERACTIVE_QUERY = 35;
CREATE_LEARNING_INSTANCE = 41; // learning graph
CLOSE_LEARNING_INSTANCE = 42;
// data
CONTEXT_TO_NUMPY = 50;
CONTEXT_TO_DATAFRAME = 51;
TO_VINEYARD_TENSOR=53;
TO_VINEYARD_DATAFRAME=54;
ADD_COLUMN=55; // return graph, add a property to a kind of vertex.
GRAPH_TO_NUMPY = 56;
GRAPH_TO_DATAFRAME = 57;
REGISTER_GRAPH_TYPE = 58;
GET_CONTEXT_DATA = 59;
FROM_NUMPY = 80;
FROM_DATAFRAME = 81;
FROM_FILE = 82;
GET_ENGINE_CONFIG = 90;
};
enum ParamKey {
GRAPH_NAME = 0;
DST_GRAPH_NAME = 1;
CTX_NAME = 2;
GRAPH_TYPE = 3;
DST_GRAPH_TYPE = 4;
OID_TYPE = 5;
VID_TYPE = 6;
V_DATA_TYPE = 7;
E_DATA_TYPE = 8;
V_LABEL_ID = 9;
E_LABEL_ID = 10;
V_PROP_ID = 11;
E_PROP_ID = 12;
LINE_PARSER = 13;
E_FILE = 14;
V_FILE = 15;
VERTEX_LABEL_NUM = 16;
EDGE_LABEL_NUM = 17;
DIRECTED = 18;
V_PROP_KEY = 19;
E_PROP_KEY = 20;
V_DEFAULT_VAL = 21;
E_DEFAULT_VAL = 22;
GRAPH_TEMPLATE_CLASS = 23;
REPARTITION_STRATEGY = 24;
NFRAG = 25;
PARAM = 26;
DISTRIBUTED = 27;
SCHEMA_PATH = 31;
GIE_GREMLIN_SERVER_CPU = 32;
GIE_GREMLIN_SERVER_MEM = 33;
GIE_GREMLIN_ENGINE_PARAMS = 34;
GIE_GREMLIN_QUERY_MESSAGE = 35;
GIE_GREMLIN_REQUEST_OPTIONS = 36;
GIE_GREMLIN_FETCH_RESULT_TYPE = 37;
APP_SIGNATURE = 40;
GRAPH_SIGNATURE = 41;
IS_FROM_VINEYARD_ID = 42;
VINEYARD_ID = 43;
VINEYARD_NAME = 44;
// project
VERTEX_COLLECTIONS = 51;
EDGE_COLLECTIONS = 52;
// learning graph
GLE_HANDLE = 60;
GLE_CONFIG = 61;
GLE_GEN_LABELS = 62;
APP_NAME = 100;
APP_ALGO = 101;
APP_LIBRARY_PATH = 102;
OUTPUT_PREFIX = 103;
VERTEX_RANGE = 104;
SELECTOR = 105;
AXIS = 106;
GAR = 107;
TYPE_SIGNATURE = 108;
REPORT_TYPE = 200;
MODIFY_TYPE = 201;
NODE = 202;
EDGE = 203;
FID = 204;
LID = 205;
EDGE_KEY = 206;
NODES = 207;
EDGES = 208;
COPY_TYPE = 209;
VIEW_TYPE = 210;
ARROW_PROPERTY_DEFINITION = 300;
PROTOCOL = 301;
VALUES = 302;
VID = 303;
SRC_VID = 304;
DST_VID = 305;
LABEL = 306;
SRC_LABEL = 307;
DST_LABEL = 308;
PROPERTIES = 309;
LOADER = 310;
LOAD_STRATEGY = 311;
ROW_NUM = 312;
COLUMN_NUM = 313;
SUB_LABEL = 315;
GENERATE_EID = 316;
GRAPH_LIBRARY_PATH = 400;
}
enum ModifyType {
NX_ADD_NODES = 0;
NX_ADD_EDGES = 1;
NX_DEL_NODES = 2;
NX_DEL_EDGES = 3;
NX_UPDATE_NODES = 4;
NX_UPDATE_EDGES = 5;
}
enum ReportType {
NODE_NUM = 0;
EDGE_NUM = 1;
HAS_NODE = 2;
HAS_EDGE = 3;
NODE_DATA = 4;
EDGE_DATA = 5;
NEIGHBORS_BY_NODE = 6;
SUCCS_BY_NODE = 7;
PREDS_BY_NODE = 8;
NEIGHBORS_BY_LOC = 9;
SUCCS_BY_LOC = 10;
PREDS_BY_LOC = 11;
DEG_BY_NODE = 12;
IN_DEG_BY_NODE = 13;
OUT_DEG_BY_NODE = 14;
DEG_BY_LOC = 15;
IN_DEG_BY_LOC = 16;
OUT_DEG_BY_LOC = 17;
NODES_BY_LOC = 18;
SELFLOOPS_NUM = 19;
}
message PlaceHolder {}
|
\begin{code}
module examples where
open import Prelude
open import Utils
open import Crypto
open import RawTransactions
open import Transactions
open import TXTree
open import RawTXTree
txTree : RawTXTree
txTree = record
{ time = nat zero
; block = zero
; outputs = []
; txTree = genesisTree
}
tx0 : RawTX
tx0 = coinbase (record { outputs = record
{ time = nat zero
; position = zero
; amount = 100
; address = nat zero
} ∷ [] })
getOuts : (tx : RawTX) → List TXFieldWithId
getOuts (coinbase record { outputs = outputs }) = outputs
getOuts (normalTX record { inputs = inputs ; outputs = outputs }) = []
listOuts : TypeEl $ listTXField→VecOut $ getOuts tx0
listOuts = el
(just
(record
{ time = nat zero
; outSize = 1
; vecOut =
fstEl
(record
{ time = nat zero
; position = zero
; amount = 100
; address = nat zero
})
refl refl
; proof = refl
}))
txTree1El : TypeEl $ addTransactionTree txTree tx0
txTree1El =
el (just (record
{ time = nat 1
; block = 0
; outputs = [ txfieldid (nat zero) zero 100 (nat zero) ]
; totalFees = zero
; qtTransactions = zero
; txTree = txtree genesisTree (coinbase genesisTree
(fstEl (txfieldid (nat zero) zero 100 (nat zero)) refl refl) refl) (right unit)
}))
txTree1 = fromJust $ getElFromType txTree1El
tx1 : RawTX
tx1 = coinbase (record { outputs = record
{ time = nat 1
; position = zero
; amount = 100
; address = nat zero
} ∷ [] })
txTree2El : TypeEl $ addTransactionTree txTree1 tx1
txTree2El = el (
just
(record
{ time = nat 2
; block = 1
; outputs =
txfieldid (nat 0) 0 100 (nat 0) ∷
[ txfieldid (nat 1) 0 100 (nat 0) ]
; totalFees = 0
; qtTransactions = zero
; txTree =
txtree
(txtree genesisTree
(coinbase genesisTree
(fstEl (txfieldid (nat 0) 0 100 (nat 0)) refl refl) refl)
(right unit))
(coinbase
(txtree genesisTree
(coinbase genesisTree
(fstEl (txfieldid (nat 0) 0 100 (nat 0)) refl refl) refl)
(right unit))
(fstEl (txfieldid (nat 1) 0 100 (nat 0)) refl refl) refl)
(right unit)
}))
\end{code}
|
set -eux
apk add openssh-server
# SSH root login was allowed so that Packer provisioners could work
# Remove it, as it is no longer required
sed -i '/^PermitRootLogin yes/d' /etc/ssh/sshd_config
|
@echo OFF
:: FILE: wordpress2blogger.bat
:: PURPOSE: Batch script for executing the command-line use of the Wordpress
:: to Blogger conversion
:: REQUIRES: Python installed and executable in the PATH list
::
:: USAGE: wordpress2blogger.bat <wordpress_export_file>
::
:: AUTHOR: JJ Lueck ([email protected])
set BASEPATH=%~p0..
set PYTHONPATH=%PYTHONPATH%;%BASEPATH%\lib
python "%BASEPATH%\src\wordpress2blogger\wp2b.py" %1
|
/*******************************
Copyright (c) 2016-2020 Grégoire Angerand
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
**********************************/
#ifndef YAVE_DEVICE_DEVICERESOURCES_H
#define YAVE_DEVICE_DEVICERESOURCES_H
#include <yave/yave.h>
#include <yave/assets/AssetPtr.h>
#include <yave/graphics/images/Image.h>
#include <yave/graphics/images/ImageView.h>
#include <y/core/String.h>
#include <y/core/HashMap.h>
#include <y/utils/hash.h>
#ifdef Y_DEBUG
#include <mutex>
#endif
namespace yave {
class SpirVData;
class ComputeProgram;
class MaterialTemplate;
class Material;
class StaticMesh;
class IBLProbe;
class DeviceResources final : NonCopyable {
public:
enum SpirV {
EquirecConvolutionComp,
CubemapConvolutionComp,
BRDFIntegratorComp,
DeferredAmbientComp,
DeferredLocalsComp,
SSAOComp,
CopyComp,
HistogramClearComp,
HistogramComp,
ToneMapParamsComp,
SkyLightParamsComp,
ToneMapFrag,
RayleighSkyFrag,
TexturedFrag,
BasicVert,
SkinnedVert,
ScreenVert,
MaxSpirV
};
enum ComputePrograms {
EquirecConvolutionProgram,
CubemapConvolutionProgram,
BRDFIntegratorProgram,
DeferredAmbientProgram,
DeferredLocalsProgram,
SSAOProgram,
CopyProgram,
HistogramClearProgram,
HistogramProgram,
ToneMapParamsProgram,
SkyLightParamsProgram,
MaxComputePrograms
};
enum MaterialTemplates {
TexturedMaterialTemplate,
TexturedSkinnedMaterialTemplate,
ToneMappingMaterialTemplate,
RayleighSkyMaterialTemplate,
MaxMaterialTemplates
};
enum Materials {
EmptyMaterial,
MaxMaterials
};
enum Textures {
BlackTexture,
WhiteTexture,
GreyTexture,
RedTexture,
FlatNormalTexture,
SkyIBLTexture,
MaxTextures
};
enum Meshes {
CubeMesh,
SphereMesh,
SimpleSphereMesh,
SweepMesh,
MaxMeshes
};
DeviceResources();
DeviceResources(DevicePtr dptr);
DeviceResources(DeviceResources&& other);
DeviceResources& operator=(DeviceResources&& other);
// can't default for inclusion reasons
~DeviceResources();
DevicePtr device() const;
TextureView brdf_lut() const;
const std::shared_ptr<IBLProbe>& ibl_probe() const;
const std::shared_ptr<IBLProbe>& empty_probe() const;
const SpirVData& operator[](SpirV i) const;
const ComputeProgram& operator[](ComputePrograms i) const;
const MaterialTemplate* operator[](MaterialTemplates i) const;
const AssetPtr<Texture>& operator[](Textures i) const;
const AssetPtr<Material>& operator[](Materials i) const;
const AssetPtr<StaticMesh>& operator[](Meshes i) const;
void reload();
private:
void swap(DeviceResources& other);
void load_resources(DevicePtr dptr);
std::unique_ptr<SpirVData[]> _spirv;
std::unique_ptr<ComputeProgram[]> _computes;
std::unique_ptr<MaterialTemplate[]> _material_templates;
std::unique_ptr<AssetPtr<Texture>[]> _textures;
std::unique_ptr<AssetPtr<Material>[]> _materials;
std::unique_ptr<AssetPtr<StaticMesh>[]> _meshes;
std::shared_ptr<IBLProbe> _probe;
std::shared_ptr<IBLProbe> _empty_probe;
Texture _brdf_lut;
#ifdef Y_DEBUG
std::unique_ptr<std::mutex> _lock;
mutable core::ExternalHashMap<core::String, std::unique_ptr<ComputeProgram>> _programs;
public:
const ComputeProgram& program_from_file(std::string_view file) const;
#endif
};
}
#endif // YAVE_DEVICE_DEVICERESOURCES_H
|
/* Quartus Prime Version 18.0.0 Build 614 04/24/2018 SJ Lite Edition */
JedecChain;
FileRevision(JESD32A);
DefaultMfr(6E);
P ActionCode(Cfg)
Device PartName(EP4CE115F29) Path("D:/Projects/ECE385Labs/final/final_code/output_files/") File("final.sof") MfrSpec(OpMask(1));
ChainEnd;
AlteraBegin;
ChainType(JTAG);
AlteraEnd;
|
#!/bin/sh
set -e
# Get GOPATH, etc from build
. ./build
# use right GOPATH
export GOPATH="${PWD}"
# Unit tests
go test -i ./server
go test -v ./server
go test -i ./server/v2/tests
go test -v ./server/v2/tests
go test -i ./store
go test -v ./store
# Functional tests
go test -i ./tests/functional
ETCD_BIN_PATH=$(pwd)/etcd go test -v ./tests/functional
|
---
title: 如何:取消連結資料流程區塊
ms.date: 03/30/2017
ms.technology: dotnet-standard
dev_langs:
- csharp
- vb
helpviewer_keywords:
- dataflow blocks, unlinking in TPL
- Task Parallel Library, dataflows
- TPL dataflow library, unlinking dataflow blocks
ms.assetid: 40f0208d-4618-47f7-85cf-4913d07d2d7d
ms.openlocfilehash: b49cfc9730ba154202baf15093a54ba3ce0e2a8a
ms.sourcegitcommit: 559fcfbe4871636494870a8b716bf7325df34ac5
ms.translationtype: MT
ms.contentlocale: zh-TW
ms.lasthandoff: 10/30/2019
ms.locfileid: "73139300"
---
# <a name="how-to-unlink-dataflow-blocks"></a>如何:取消連結資料流程區塊
本文件將說明如何解除目標資料流程區塊與其來源之間的連結。
[!INCLUDE [tpl-install-instructions](../../../includes/tpl-install-instructions.md)]
## <a name="example"></a>範例
下列範例會建立三個 <xref:System.Threading.Tasks.Dataflow.TransformBlock%602> 物件,每一個 `TrySolution` 方法都會計算一個值。 這個範例只要求來自第一次呼叫 `TrySolution` 的結果必須完成。
[!code-csharp[TPLDataflow_ReceiveAny#1](../../../samples/snippets/csharp/VS_Snippets_Misc/tpldataflow_receiveany/cs/dataflowreceiveany.cs#1)]
[!code-vb[TPLDataflow_ReceiveAny#1](../../../samples/snippets/visualbasic/VS_Snippets_Misc/tpldataflow_receiveany/vb/dataflowreceiveany.vb#1)]
為了要從第一個完成的 <xref:System.Threading.Tasks.Dataflow.TransformBlock%602> 接收值,這個範例會定義 `ReceiveFromAny(T)` 方法。 `ReceiveFromAny(T)` 方法可接受 <xref:System.Threading.Tasks.Dataflow.ISourceBlock%601> 物件陣列,並且將這些物件連結至 <xref:System.Threading.Tasks.Dataflow.WriteOnceBlock%601> 物件。 當您使用 <xref:System.Threading.Tasks.Dataflow.ISourceBlock%601.LinkTo%2A> 方法將來源資料流程區塊連結至目標區塊時,來源會在有可用資料時將訊息傳播至目標。 由於 <xref:System.Threading.Tasks.Dataflow.WriteOnceBlock%601> 類別只接受提供給它的第一個訊息,因此 `ReceiveFromAny(T)` 方法會藉由呼叫 <xref:System.Threading.Tasks.Dataflow.DataflowBlock.Receive%2A> 方法產生其結果。 這樣就會產生提供給 <xref:System.Threading.Tasks.Dataflow.WriteOnceBlock%601> 物件的第一個訊息。 <xref:System.Threading.Tasks.Dataflow.ISourceBlock%601.LinkTo%2A> 方法有一個會採用 <xref:System.Threading.Tasks.Dataflow.DataflowLinkOptions> 物件和 <xref:System.Threading.Tasks.Dataflow.DataflowLinkOptions.MaxMessages> 屬性的多載版本,當它設為 `1` 時,就會指示來源區塊在目標收到來自來源的第一個訊息之後,中斷與目標的連結。 <xref:System.Threading.Tasks.Dataflow.WriteOnceBlock%601> 物件一定要與其來源中斷連結,因為在 <xref:System.Threading.Tasks.Dataflow.WriteOnceBlock%601> 物件接收訊息之後,就不再需要來源陣列與 <xref:System.Threading.Tasks.Dataflow.WriteOnceBlock%601> 物件之間的關聯性。
若要在其中一個對 `TrySolution` 的呼叫計算出值之後讓其餘呼叫結束,`TrySolution` 方法會採用 <xref:System.Threading.CancellationToken> 物件,該物件會在 `ReceiveFromAny(T)` 的呼叫傳回之後取消。 <xref:System.Threading.SpinWait.SpinUntil%2A> 方法會在這個 <xref:System.Threading.CancellationToken> 物件取消時傳回。
## <a name="see-also"></a>請參閱
- [資料流程](../../../docs/standard/parallel-programming/dataflow-task-parallel-library.md)
|
/**
* Arbeit Telegram Bot executable file;
* Setup mongoose and starts logic.js.
*
* @module app
* @license MIT
*/
/** Dependencies */
const mongoose = require('mongoose');
const events = require('events');
// noinspection JSAnnotator
global.eventEmitter = new events.EventEmitter();
/** Configure a bot */
const config = require('./config');
/** Setup mongoose */
mongoose.Promise = global.Promise;
mongoose.connect(config.database)
/** Start bot */
require('./helpers/logic');
/** Start stat server */
require('./helpers/statServer');
/** Start timers for retention boost and reminders */
require('./helpers/timers').startTimers();
/** Print a message to assure that bot is up and running */
console.log(`Bot is up and running in Teleworkuzbot`); // eslint-disable-line no-console
|
package settings
import (
"errors"
"io"
"io/ioutil"
"os"
"path"
"path/filepath"
"runtime"
"strings"
"sync"
)
const (
FileExtension = ".grundy.ini"
ExampleSuffix = "-example"
defaultFileMode = 0644
managedFileComment = "[WARNING] DO NOT EDIT THIS FILE. This file is managed by the application."
none section = ""
appSettings section = "settings"
gameCollections section = "game_collections"
launcherExePath key = "exe_path"
launcherDefaultArgs key = "default_args"
launcherGameFileSuffixes key = "game_file_suffixes"
gameName key = "name"
gameExeSubPath key = "exe"
gameOverrideArgs key = "override_args"
gameAdditionalArgs key = "additional_args"
gameIconPath key = "icon"
gameCategories key = "categories"
gameGridImagePath key = "grid"
listSeparator = ","
gameIconPrefix = "-icon"
gameGridPrefix = "-grid"
pngSuffix = ".png"
jpgSuffix = ".jpg"
)
var (
gameIconSuffixes = []string{gameIconPrefix + pngSuffix, gameIconPrefix + jpgSuffix}
gameGridImageSuffixes = []string{gameGridPrefix + pngSuffix, gameGridPrefix + jpgSuffix}
GameImageSuffixes = append(gameIconSuffixes, gameGridImageSuffixes...)
)
type section string
func (o section) string() string {
return string(o)
}
type key string
func (o key) string() string {
return string(o)
}
type DynamicFilePath interface {
FilePath() string
WasDynamicallySelected() bool
FileExists() bool
}
type defaultDynamicFilePath struct {
filePath string
dynamic bool
fileExists bool
}
func (o defaultDynamicFilePath) FilePath() string {
return o.filePath
}
func (o defaultDynamicFilePath) WasDynamicallySelected() bool {
return o.dynamic
}
func (o defaultDynamicFilePath) FileExists() bool {
return o.fileExists
}
type SaveableSettings interface {
Filename(additionalSuffix string) string
Reload(filePath string) error
Save(io.Writer) error
ResetToDefaults()
Example() SaveableSettings
}
type AppSettings interface {
SaveableSettings
GameCollectionsPathsToLauncherNames() map[string]string
AddGameCollection(dirPath string, launcherName string)
RemoveGameCollection(dirPath string)
HasGameCollection(dirPath string) (launcherName string, ok bool)
}
type defaultAppSettings struct {
config configFile
}
func (o *defaultAppSettings) Filename(additionalSuffix string) string {
return "app" + additionalSuffix + FileExtension
}
func (o *defaultAppSettings) Reload(filePath string) error {
return o.config.Reload(filePath)
}
func (o *defaultAppSettings) Save(w io.Writer) error {
return o.config.Save(w)
}
func (o *defaultAppSettings) ResetToDefaults() {
o.config.Clear()
o.config.AddSection(appSettings)
o.config.DeleteSection(gameCollections)
o.config.AddSection(gameCollections)
}
func (o *defaultAppSettings) Example() SaveableSettings {
return NewAppSettings()
}
func (o *defaultAppSettings) GameCollectionsPathsToLauncherNames() map[string]string {
return o.config.SectionKeysToValues(gameCollections)
}
func (o *defaultAppSettings) AddGameCollection(dirPath string, launcherName string) {
o.config.AddOrUpdateKeyValue(gameCollections, key(dirPath), launcherName)
}
func (o *defaultAppSettings) RemoveGameCollection(dirPath string) {
o.config.DeleteKey(gameCollections, key(dirPath))
}
func (o *defaultAppSettings) HasGameCollection(dirPath string) (string, bool) {
if !o.config.HasKey(gameCollections, key(dirPath)) {
return "", false
}
return o.config.KeyValue(gameCollections, key(dirPath)), true
}
type LaunchersSettings interface {
SaveableSettings
Has(name string) (Launcher, bool)
AddOrUpdate(Launcher)
Remove(Launcher)
}
// TODO: Locking.
type defaultLaunchersSettings struct {
config configFile
}
func (o *defaultLaunchersSettings) Filename(additionalSuffix string) string {
return "launchers" + additionalSuffix + FileExtension
}
func (o *defaultLaunchersSettings) Reload(filePath string) error {
return o.config.Reload(filePath)
}
func (o *defaultLaunchersSettings) Save(w io.Writer) error {
return o.config.Save(w)
}
func (o *defaultLaunchersSettings) ResetToDefaults() {
o.config.Clear()
}
func (o *defaultLaunchersSettings) Example() SaveableSettings {
s := NewLaunchersSettings()
s.AddOrUpdate(NewLauncher().Example())
return s
}
func (o *defaultLaunchersSettings) Has(name string) (Launcher, bool) {
l := NewLauncher()
sec := section(name)
if o.config.HasSection(sec) {
l.SetName(name)
l.SetExePath(o.config.KeyValue(sec, launcherExePath))
l.SetDefaultArgs(o.config.KeyValue(sec, launcherDefaultArgs))
suffixes := o.config.KeyValue(sec, launcherGameFileSuffixes)
if len(suffixes) > 0 {
l.SetGameFileSuffixes(strings.Split(suffixes, listSeparator))
}
return l, true
}
return l, false
}
func (o *defaultLaunchersSettings) AddOrUpdate(l Launcher) {
sec := section(l.Name())
o.config.AddOrUpdateKeyValue(sec, launcherExePath, l.ExePath())
o.config.AddOrUpdateKeyValue(sec, launcherDefaultArgs, l.DefaultArgs())
o.config.AddOrUpdateKeyValue(sec, launcherGameFileSuffixes, strings.Join(l.GameFileSuffixes(), listSeparator))
}
func (o *defaultLaunchersSettings) Remove(l Launcher) {
o.config.DeleteSection(section(l.Name()))
}
type Launcher interface {
ResetToDefaults()
Example() Launcher
IsValid() error
SetName(string)
Name() string
SetExePath(string)
ExePath() string
ExeDirPath() string
SetDefaultArgs(string)
DefaultArgs() string
SetGameFileSuffixes([]string)
GameFileSuffixes() []string
}
type defaultLauncherSettings struct {
name string
exePath string
defaultArgs string
gameFileSuffixes []string
}
func (o *defaultLauncherSettings) ResetToDefaults() {
o.name = ""
o.exePath = ""
o.gameFileSuffixes = []string{}
o.defaultArgs = ""
}
func (o *defaultLauncherSettings) Example() Launcher {
launcher := NewLauncher()
launcher.SetName("example-launcher")
if runtime.GOOS == "windows" {
launcher.SetExePath("C:\\path\\to\\launcher\\executable.file")
launcher.SetGameFileSuffixes([]string{".exe", ".bat"})
} else {
launcher.SetExePath("/path/to/launcher/executable.file")
launcher.SetGameFileSuffixes([]string{".sh", ".bin"})
}
launcher.SetDefaultArgs("")
return launcher
}
func (o *defaultLauncherSettings) IsValid() error {
if len(o.name) == 0 {
return errors.New("Missing name field")
}
if len(o.exePath) == 0 {
return errors.New("The '" + launcherExePath.string() + "' field is missing or is empty")
}
_, err := os.Stat(o.exePath)
if err != nil {
return errors.New("Executable does not exist - " + err.Error())
}
if len(o.gameFileSuffixes) == 0 {
return errors.New("The '" + launcherGameFileSuffixes.string() + "' field is missing or is empty")
}
return nil
}
func (o *defaultLauncherSettings) SetName(name string) {
o.name = name
}
func (o *defaultLauncherSettings) Name() string {
return o.name
}
func (o *defaultLauncherSettings) SetExePath(filePath string) {
o.exePath = filePath
}
func (o *defaultLauncherSettings) ExePath() string {
return o.exePath
}
func (o *defaultLauncherSettings) ExeDirPath() string {
return path.Dir(o.ExePath())
}
func (o *defaultLauncherSettings) SetDefaultArgs(args string) {
o.defaultArgs = args
}
func (o *defaultLauncherSettings) DefaultArgs() string {
return o.defaultArgs
}
func (o *defaultLauncherSettings) SetGameFileSuffixes(suffixes []string) {
o.gameFileSuffixes = suffixes
}
func (o *defaultLauncherSettings) GameFileSuffixes() []string {
return o.gameFileSuffixes
}
type GameSettings interface {
SaveableSettings
SetName(string)
Name() string
SetExeSubPath(string)
ExeFullPath(launcher Launcher) (filePath string, exists bool)
ShouldOverrideLauncherArgs() bool
SetLauncherOverrideArgs(string)
LauncherOverrideArgs() string
SetAdditionalLauncherArgs(string)
AdditionalLauncherArgs() string
SetIconPath(string)
IconPath() DynamicFilePath
SetGridImagePath(string)
GridImagePath() DynamicFilePath
AddCategory(string)
RemoveCategory(string)
SetCategories([]string)
Categories() []string
}
type defaultGameSettings struct {
dirPath string
config configFile
}
func (o *defaultGameSettings) Filename(additionalSuffix string) string {
return "game" + additionalSuffix + FileExtension
}
func (o *defaultGameSettings) Reload(filePath string) error {
return o.config.Reload(filePath)
}
func (o *defaultGameSettings) ResetToDefaults() {
o.config.Clear()
}
func (o *defaultGameSettings) Save(w io.Writer) error {
return o.config.Save(w)
}
func (o *defaultGameSettings) Example() SaveableSettings {
s := NewGameSettings("")
s.SetName("example-game")
s.SetAdditionalLauncherArgs("")
s.SetLauncherOverrideArgs("")
if runtime.GOOS == "windows" {
s.SetExeSubPath("example.exe")
s.SetIconPath("C:\\path\\to\\game-icon.png")
s.SetGridImagePath("C:\\path\\to\\game-grid.png")
} else {
s.SetExeSubPath("example.sh")
s.SetIconPath("/path/to/game-icon.png")
s.SetGridImagePath("/path/to/game-grid.png")
}
s.SetCategories([]string{"My Cool Category", "Another Cool Category", "some-other category"})
return s
}
func (o *defaultGameSettings) SetName(name string) {
o.config.AddOrUpdateKeyValue(none, gameName, name)
}
func (o *defaultGameSettings) Name() string {
name := o.config.KeyValue(none, gameName)
if len(name) > 0 {
return name
}
return path.Base(o.dirPath)
}
func (o *defaultGameSettings) SetExeSubPath(p string) {
o.config.AddOrUpdateKeyValue(none, gameExeSubPath, p)
}
func (o *defaultGameSettings) ExeFullPath(launcher Launcher) (string, bool) {
exeFullPath := ""
exeSubPath := o.config.KeyValue(none, gameExeSubPath)
if len(strings.TrimSpace(exeSubPath)) > 0 {
exeFullPath = filepath.Join(o.dirPath, exeSubPath)
} else {
found := false
exeFullPath, found = o.defaultExeFullPath(launcher)
if !found {
return "", false
}
}
// TODO: Does this handle Windows disk drives properly?
exeFullPath = filepath.Clean(exeFullPath)
_, statErr := os.Stat(exeFullPath)
if statErr != nil {
return exeFullPath, false
}
return exeFullPath, true
}
func (o *defaultGameSettings) defaultExeFullPath(launcher Launcher) (string, bool) {
exeFunc := func(filename string) bool {
suffixes := launcher.GameFileSuffixes()
for i := range suffixes {
if strings.HasSuffix(filename, suffixes[i]) {
return true
}
}
return false
}
exeFilePath, found := dirContainsFile(o.dirPath, exeFunc)
if found {
return exeFilePath, true
}
return "", false
}
func (o *defaultGameSettings) ShouldOverrideLauncherArgs() bool {
return len(o.LauncherOverrideArgs()) > 0
}
func (o *defaultGameSettings) SetLauncherOverrideArgs(args string) {
o.config.AddOrUpdateKeyValue(none, gameOverrideArgs, args)
}
func (o *defaultGameSettings) LauncherOverrideArgs() string {
return o.config.KeyValue(none, gameOverrideArgs)
}
func (o *defaultGameSettings) SetAdditionalLauncherArgs(args string) {
o.config.AddOrUpdateKeyValue(none, gameAdditionalArgs, args)
}
func (o *defaultGameSettings) AdditionalLauncherArgs() string {
return o.config.KeyValue(none, gameAdditionalArgs)
}
func (o *defaultGameSettings) SetIconPath(filePath string) {
o.config.AddOrUpdateKeyValue(none, gameIconPath, filePath)
}
func (o *defaultGameSettings) IconPath() DynamicFilePath {
return o.manualFilePathOrExisting(gameIconPath, gameIconSuffixes)
}
func (o *defaultGameSettings) SetGridImagePath(filePath string) {
o.config.AddOrUpdateKeyValue(none, gameGridImagePath, filePath)
}
func (o *defaultGameSettings) GridImagePath() DynamicFilePath {
return o.manualFilePathOrExisting(gameGridImagePath, gameGridImageSuffixes)
}
func (o *defaultGameSettings) manualFilePathOrExisting(k key, suffixes []string) DynamicFilePath {
result := &defaultDynamicFilePath{
filePath: o.config.KeyValue(none, k),
}
if len(strings.TrimSpace(result.filePath)) == 0 {
result.dynamic = true
result.filePath, result.fileExists = existingFilePath(o.dirPath, suffixes)
if !result.fileExists {
return result
}
}
// TODO: Does this handle Windows disk drives properly?
result.filePath = filepath.Clean(result.filePath)
_, statErr := os.Stat(result.filePath)
if statErr != nil {
return result
}
result.fileExists = true
return result
}
func (o *defaultGameSettings) AddCategory(c string) {
current := o.Categories()
for _, s := range current {
if s == c {
return
}
}
current = append(current, c)
o.SetCategories(current)
}
func (o *defaultGameSettings) RemoveCategory(c string) {
current := o.Categories()
for i, s := range current {
if s == c {
current = append(current[:i], current[i+1:]...)
o.SetCategories(current)
return
}
}
}
func (o *defaultGameSettings) SetCategories(cats []string) {
o.config.AddOrUpdateKeyValue(none, gameCategories, strings.Join(cats, listSeparator))
}
func (o *defaultGameSettings) Categories() []string {
data := o.config.KeyValue(none, gameCategories)
if len(data) == 0 {
return []string{}
}
return strings.Split(data, listSeparator)
}
type KnownGamesSettings interface {
SaveableSettings
GameDirPathsToGameNames() map[string]string
AddUniqueGameOnly(game GameSettings, gameDirPath string) bool
Disown(gameDirPath string) (gameName string, ok bool)
DisownNonExistingGames() (gameDirPathsToGameNames map[string]string)
}
type defaultKnownGamesSettings struct {
mutex *sync.Mutex
config configFile
filePath string
}
func (o *defaultKnownGamesSettings) Filename(additionalSuffix string) string {
return ".known-games" + additionalSuffix + FileExtension
}
func (o *defaultKnownGamesSettings) Reload(filePath string) error {
return o.config.Reload(filePath)
}
func (o *defaultKnownGamesSettings) ResetToDefaults() {
o.mutex.Lock()
defer o.mutex.Unlock()
o.config.Clear()
o.config.SetSectionComment(none, managedFileComment)
}
func (o *defaultKnownGamesSettings) Save(w io.Writer) error {
o.mutex.Lock()
defer o.mutex.Unlock()
o.config.SetSectionComment(none, managedFileComment)
return o.config.Save(w)
}
func (o *defaultKnownGamesSettings) Example() SaveableSettings {
return &defaultKnownGamesSettings{}
}
func (o *defaultKnownGamesSettings) GameDirPathsToGameNames() map[string]string {
o.mutex.Lock()
defer o.mutex.Unlock()
return o.config.SectionKeysToValues(none)
}
func (o *defaultKnownGamesSettings) AddUniqueGameOnly(game GameSettings, dirPath string) bool {
o.mutex.Lock()
defer o.mutex.Unlock()
var count int
for _, gameName := range o.config.SectionValues(none) {
if gameName == game.Name() {
count++
// TODO: Why did I do this again?
if count > 1 {
return false
}
}
}
o.config.AddOrUpdateKeyValue(none, key(dirPath), game.Name())
o.saveUnsafe()
return true
}
func (o *defaultKnownGamesSettings) Disown(dirPath string) (string, bool) {
o.mutex.Lock()
defer o.mutex.Unlock()
return o.disownUnsafe(dirPath)
}
func (o *defaultKnownGamesSettings) DisownNonExistingGames() map[string]string {
o.mutex.Lock()
defer o.mutex.Unlock()
disownedDirPathsToGameNames := make(map[string]string)
for _, dirPath := range o.config.SectionKeys(none) {
_, statErr := os.Stat(dirPath)
if statErr == nil {
continue
}
name, ok := o.disownUnsafe(dirPath)
if ok {
disownedDirPathsToGameNames[dirPath] = name
}
}
return disownedDirPathsToGameNames
}
func (o *defaultKnownGamesSettings) disownUnsafe(dirPath string) (string, bool) {
if o.config.HasKey(none, key(dirPath)) {
gameName := o.config.KeyValue(none, key(dirPath))
o.config.DeleteKey(none, key(dirPath))
o.saveUnsafe()
return gameName, true
}
return "", false
}
func (o *defaultKnownGamesSettings) saveUnsafe() error {
f, err := os.OpenFile(o.filePath, os.O_WRONLY|os.O_CREATE, defaultFileMode)
if err != nil {
return err
}
defer f.Close()
err = f.Truncate(0)
if err != nil {
return err
}
err = o.config.Save(f)
if err != nil {
return err
}
return nil
}
func NewAppSettings() AppSettings {
s := &defaultAppSettings{
config: newEmptyIniFile(),
}
s.ResetToDefaults()
return s
}
func NewLaunchersSettings() LaunchersSettings {
s := &defaultLaunchersSettings{
config: newEmptyIniFile(),
}
s.ResetToDefaults()
return s
}
func NewLauncher() Launcher {
s := &defaultLauncherSettings{}
s.ResetToDefaults()
return s
}
func NewGameSettings(dirPath string) GameSettings {
s := &defaultGameSettings{
dirPath: dirPath,
config: newEmptyIniFile(),
}
s.ResetToDefaults()
return s
}
func LoadOrCreateKnownGamesSettings(parentDirPath string) (KnownGamesSettings, bool) {
s := &defaultKnownGamesSettings{
config: newEmptyIniFile(),
mutex: &sync.Mutex{},
}
s.ResetToDefaults()
s.filePath = path.Join(parentDirPath, s.Filename(""))
f, err := loadIniConfigFile(s.filePath)
if err != nil {
s.saveUnsafe()
return s, false
}
s.config = f
return s, true
}
func LoadGameSettings(filePath string, launcher Launcher) (GameSettings, error) {
f, err := loadIniConfigFile(filePath)
if err != nil {
return &defaultGameSettings{}, err
}
d := &defaultGameSettings{
config: f,
dirPath: path.Dir(filePath),
}
_, exeExists := d.ExeFullPath(launcher)
if !exeExists {
return &defaultGameSettings{}, errors.New("The game config's executable path does not exist")
}
return d, nil
}
func existingFilePath(dirPath string, suffixes []string) (string, bool) {
matchFunc := func(filename string) bool {
for i := range suffixes {
if strings.HasSuffix(filename, suffixes[i]) {
return true
}
}
return false
}
filePath, found := dirContainsFile(dirPath, matchFunc)
if found {
return filePath, true
}
return "", false
}
func dirContainsFile(dirPath string, fileNameMatchFunc func(string) bool) (string, bool) {
dirInfos, err := ioutil.ReadDir(dirPath)
if err != nil {
return "", false
}
for i := range dirInfos {
if dirInfos[i].IsDir() {
continue
}
if fileNameMatchFunc(dirInfos[i].Name()) {
return path.Join(dirPath, dirInfos[i].Name()), true
}
}
return "", false
}
func Create(parentDirPath string, filenameSuffix string, s SaveableSettings) error {
err := CreateDir(parentDirPath)
if err != nil {
return err
}
filePath := path.Join(parentDirPath, s.Filename(filenameSuffix))
f, err := os.OpenFile(filePath, os.O_TRUNC|os.O_CREATE|os.O_WRONLY, defaultFileMode)
if err != nil {
return err
}
err = s.Save(f)
if err != nil {
return err
}
defer f.Close()
return nil
}
|
Beat 0 4
Beat 245 0
Beat 490 1
Beat 735 0
Beat 1015 2
Beat 1260 0
Beat 1505 1
Beat 1750 0
Beat 1995 3
Beat 2240 0
Beat 2485 1
Beat 2730 0
Beat 3010 2
Beat 3255 0
Beat 3500 1
Beat 3745 0
Beat 3990 4
Beat 4235 0
Beat 4480 1
Beat 4725 0
Beat 5005 2
Beat 5250 0
Beat 5495 1
Beat 5740 0
Beat 5985 3
Beat 6230 0
Beat 6510 1
Beat 6755 0
Beat 7000 2
Beat 7245 0
Beat 7490 1
Beat 7735 0
Beat 8015 4
Beat 8260 0
Beat 8505 1
Beat 8750 0
Beat 8995 2
Beat 9240 0
Beat 9485 1
Beat 9730 0
Beat 10010 3
Beat 10255 0
Beat 10500 1
Beat 10745 0
Beat 10990 2
Beat 11235 0
Beat 11480 1
Beat 11725 0
Beat 12005 4
Beat 12250 0
Beat 12495 1
Beat 12740 0
Beat 12985 2
Beat 13230 0
Beat 13475 1
Beat 13720 0
Beat 14000 3
Beat 14245 0
Beat 14490 1
Beat 14735 0
Beat 15015 2
Beat 15260 0
Beat 15505 1
Beat 15750 0
Beat 15995 4
Beat 16240 0
Beat 16485 1
Beat 16730 0
Beat 17010 2
Beat 17255 0
Beat 17500 1
Beat 17745 0
Beat 17990 3
Beat 18235 0
Beat 18480 1
Beat 18725 0
Beat 19005 2
Beat 19250 0
Beat 19495 1
Beat 19740 0
Beat 19985 4
Beat 20230 0
Beat 20475 1
Beat 20720 0
Beat 21000 2
Beat 21245 0
Beat 21490 1
Beat 21735 0
Beat 22015 3
Beat 22260 0
Beat 22505 1
Beat 22750 0
Beat 22995 2
Beat 23240 0
Beat 23485 1
Beat 23730 0
Beat 24010 4
Beat 24255 0
Beat 24500 1
Beat 24745 0
Beat 24990 2
Beat 25235 0
Beat 25480 1
Beat 25725 0
Beat 26005 3
Beat 26250 0
Beat 26495 1
Beat 26740 0
Beat 26985 2
Beat 27230 0
Beat 27510 1
Beat 27755 0
Beat 28000 4
Beat 28245 0
Beat 28490 1
Beat 28735 0
Beat 29015 2
Beat 29260 0
Beat 29505 1
Beat 29750 0
Beat 29995 3
Beat 30240 0
Beat 30485 1
Beat 30730 0
Beat 31010 2
Beat 31255 0
Beat 31500 1
Beat 31745 0
Beat 31990 4
Beat 32235 0
Beat 32480 1
Beat 32725 0
Beat 33005 2
Beat 33250 0
Beat 33495 1
Beat 33740 0
Beat 33985 3
Beat 34230 0
Beat 34475 1
Beat 34720 0
Beat 35000 2
Beat 35245 0
Beat 35490 1
Beat 35735 0
Beat 36015 4
Beat 36260 0
Beat 36505 1
Beat 36750 0
Beat 36995 2
Beat 37240 0
Beat 37485 1
Beat 37730 0
Beat 38010 3
Beat 38255 0
Beat 38500 1
Beat 38745 0
Beat 38990 2
Beat 39235 0
Beat 39480 1
Beat 39725 0
Beat 40005 4
Beat 40250 0
Beat 40495 1
Beat 40740 0
Beat 40985 2
Beat 41230 0
Beat 41475 1
Beat 41720 0
Beat 42000 3
Beat 42245 0
Beat 42490 1
Beat 42735 0
Beat 43015 2
Beat 43260 0
Beat 43505 1
Beat 43750 0
Beat 43995 4
Beat 44240 0
Beat 44485 1
Beat 44730 0
Beat 45010 2
Beat 45255 0
Beat 45500 1
Beat 45745 0
Beat 45990 3
Beat 46235 0
Beat 46480 1
Beat 46725 0
Beat 47005 2
Beat 47250 0
Beat 47495 1
Beat 47740 0
Beat 47985 4
Beat 48230 0
Beat 48475 1
Beat 48720 0
Beat 49000 2
Beat 49245 0
Beat 49490 1
Beat 49735 0
Beat 50015 3
Beat 50260 0
Beat 50505 1
Beat 50750 0
Beat 50995 2
Beat 51240 0
Beat 51485 1
Beat 51730 0
Beat 52010 4
Beat 52255 0
Beat 52500 1
Beat 52745 0
Beat 52990 2
Beat 53235 0
Beat 53480 1
Beat 53725 0
Beat 54005 3
Beat 54250 0
Beat 54495 1
Beat 54740 0
Beat 54985 2
Beat 55230 0
Beat 55475 1
Beat 55720 0
Beat 56000 4
Note 0 490 62
Note 490 1015 64
Note 1015 1995 65
Note 1995 3010 67
Note 3010 3990 69
Note 3990 5005 67
Note 5005 5985 72
Note 5985 6510 71
Note 6510 7000 69
Note 7000 8015 69
|
Note 8015 8995 67
Note 8995 10010 72
Note 10010 10990 71
Note 10990 12005 69
Note 12005 12985 67
Note 12985 14000 65
Note 14000 15015 64
Note 15015 15995 62
|
Note 15995 17010 62
Note 17010 17990 67
Note 17990 19005 67
Note 19005 19985 64
Note 19985 21000 69
Note 21000 22015 69
Note 22015 22995 68
Note 22995 24010 69
|
Note 24010 24990 69
Note 24990 26005 74
Note 26005 26985 74
Note 26985 27510 76
Note 27510 28000 74
Note 28000 29015 72
Note 29015 29505 74
Note 29505 29995 72
Note 29995 31010 71
Note 31010 31990 69
|
Note 31990 33005 71
Note 33005 33985 72
Note 33985 35000 71
Note 35000 36015 69
Note 36015 36995 67
Note 36995 37485 69
Note 37485 38010 67
Note 38010 38990 65
Note 38990 40005 64
|
Note 40005 40495 62
Note 40495 40985 64
Note 40985 42000 65
Note 42000 43015 67
Note 43015 43505 69
Note 43505 43995 67
Note 43995 45010 65
Note 45010 45500 67
Note 45500 45990 65
Note 45990 47005 64
Note 47005 47985 62
|
Note 47985 49000 74
Note 49000 50015 74
Note 50015 50995 74
Note 50995 52010 76
Note 52010 52990 74
Note 52990 54005 72
Note 54005 54985 71
Note 54985 56000 69
|
|
include "./typedefs.thrift"
union EmptyUnion {}
union Document {
1: typedefs.PDF pdf
2: string plainText
}
/**
* ArbitraryValue allows constructing complex values without a schema.
*
* A value is one of,
*
* * Boolean
* * Integer
* * String
* * A list of other values
* * A dictionary of other values
*/
union ArbitraryValue {
1: bool boolValue
2: i64 int64Value
3: string stringValue
4: list<ArbitraryValue> listValue
5: map<string, ArbitraryValue> mapValue
}
|
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
import "./IPool.sol";
interface IActivePool is IPool {
// --- Events ---
event BorrowerOpsAddressChanged(address _newBorrowerOpsAddress);
event VaultManagerAddressChanged(address _newVaultManagerAddress);
event ActivePoolOSDDebtUpdated(uint _OSDDebt);
event ActivePoolROSEBalanceUpdated(uint _ROSE);
// --- Functions ---
function sendROSE(address _account, uint _amount) external;
} |
# aes flow pipe cleaner
source "helpers.tcl"
source "flow_helpers.tcl"
source "Nangate45/Nangate45.vars"
set design "aes"
set top_module "aes_cipher_top"
set synth_verilog "aes_nangate45.v"
set sdc_file "aes_nangate45.sdc"
set die_area {0 0 1020 920.8}
set core_area {10 12 1010 911.2}
set max_drv_count 1
# liberty units (ns)
set setup_slack_limit 3.0
set hold_slack_limit 0.0
source -echo "flow.tcl"
|
from django.apps import AppConfig
class LogicConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "Logic"
|
#Signature file v4.1
#Version 1.18
CLSS public abstract interface java.io.Closeable
intf java.lang.AutoCloseable
meth public abstract void close() throws java.io.IOException
CLSS public abstract interface java.io.FileFilter
anno 0 java.lang.FunctionalInterface()
meth public abstract boolean accept(java.io.File)
CLSS public abstract interface java.io.Serializable
CLSS public abstract interface java.lang.AutoCloseable
meth public abstract void close() throws java.lang.Exception
CLSS public abstract interface java.lang.Comparable<%0 extends java.lang.Object>
meth public abstract int compareTo({java.lang.Comparable%0})
CLSS public abstract java.lang.Enum<%0 extends java.lang.Enum<{java.lang.Enum%0}>>
cons protected init(java.lang.String,int)
intf java.io.Serializable
intf java.lang.Comparable<{java.lang.Enum%0}>
meth protected final java.lang.Object clone() throws java.lang.CloneNotSupportedException
meth protected final void finalize()
meth public final boolean equals(java.lang.Object)
meth public final int compareTo({java.lang.Enum%0})
meth public final int hashCode()
meth public final int ordinal()
meth public final java.lang.Class<{java.lang.Enum%0}> getDeclaringClass()
meth public final java.lang.String name()
meth public java.lang.String toString()
meth public static <%0 extends java.lang.Enum<{%%0}>> {%%0} valueOf(java.lang.Class<{%%0}>,java.lang.String)
supr java.lang.Object
hfds name,ordinal
CLSS public java.lang.Exception
cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean)
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
cons public init(java.lang.Throwable)
supr java.lang.Throwable
hfds serialVersionUID
CLSS public abstract interface !annotation java.lang.FunctionalInterface
anno 0 java.lang.annotation.Documented()
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE])
intf java.lang.annotation.Annotation
CLSS public java.lang.Object
cons public init()
meth protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
meth protected void finalize() throws java.lang.Throwable
meth public boolean equals(java.lang.Object)
meth public final java.lang.Class<?> getClass()
meth public final void notify()
meth public final void notifyAll()
meth public final void wait() throws java.lang.InterruptedException
meth public final void wait(long) throws java.lang.InterruptedException
meth public final void wait(long,int) throws java.lang.InterruptedException
meth public int hashCode()
meth public java.lang.String toString()
CLSS public java.lang.RuntimeException
cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean)
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
cons public init(java.lang.Throwable)
supr java.lang.Exception
hfds serialVersionUID
CLSS public java.lang.Throwable
cons protected init(java.lang.String,java.lang.Throwable,boolean,boolean)
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
cons public init(java.lang.Throwable)
intf java.io.Serializable
meth public final java.lang.Throwable[] getSuppressed()
meth public final void addSuppressed(java.lang.Throwable)
meth public java.lang.StackTraceElement[] getStackTrace()
meth public java.lang.String getLocalizedMessage()
meth public java.lang.String getMessage()
meth public java.lang.String toString()
meth public java.lang.Throwable fillInStackTrace()
meth public java.lang.Throwable getCause()
meth public java.lang.Throwable initCause(java.lang.Throwable)
meth public void printStackTrace()
meth public void printStackTrace(java.io.PrintStream)
meth public void printStackTrace(java.io.PrintWriter)
meth public void setStackTrace(java.lang.StackTraceElement[])
supr java.lang.Object
hfds CAUSE_CAPTION,EMPTY_THROWABLE_ARRAY,NULL_CAUSE_MESSAGE,SELF_SUPPRESSION_MESSAGE,SUPPRESSED_CAPTION,SUPPRESSED_SENTINEL,UNASSIGNED_STACK,backtrace,cause,detailMessage,serialVersionUID,stackTrace,suppressedExceptions
hcls PrintStreamOrWriter,SentinelHolder,WrappedPrintStream,WrappedPrintWriter
CLSS public abstract interface java.lang.annotation.Annotation
meth public abstract boolean equals(java.lang.Object)
meth public abstract int hashCode()
meth public abstract java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
meth public abstract java.lang.String toString()
CLSS public abstract interface !annotation java.lang.annotation.Documented
anno 0 java.lang.annotation.Documented()
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE])
intf java.lang.annotation.Annotation
CLSS public abstract interface !annotation java.lang.annotation.Retention
anno 0 java.lang.annotation.Documented()
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE])
intf java.lang.annotation.Annotation
meth public abstract java.lang.annotation.RetentionPolicy value()
CLSS public abstract interface !annotation java.lang.annotation.Target
anno 0 java.lang.annotation.Documented()
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[ANNOTATION_TYPE])
intf java.lang.annotation.Annotation
meth public abstract java.lang.annotation.ElementType[] value()
CLSS public abstract interface java.util.Comparator<%0 extends java.lang.Object>
anno 0 java.lang.FunctionalInterface()
meth public <%0 extends java.lang.Comparable<? super {%%0}>> java.util.Comparator<{java.util.Comparator%0}> thenComparing(java.util.function.Function<? super {java.util.Comparator%0},? extends {%%0}>)
meth public <%0 extends java.lang.Object> java.util.Comparator<{java.util.Comparator%0}> thenComparing(java.util.function.Function<? super {java.util.Comparator%0},? extends {%%0}>,java.util.Comparator<? super {%%0}>)
meth public abstract boolean equals(java.lang.Object)
meth public abstract int compare({java.util.Comparator%0},{java.util.Comparator%0})
meth public java.util.Comparator<{java.util.Comparator%0}> reversed()
meth public java.util.Comparator<{java.util.Comparator%0}> thenComparing(java.util.Comparator<? super {java.util.Comparator%0}>)
meth public java.util.Comparator<{java.util.Comparator%0}> thenComparingDouble(java.util.function.ToDoubleFunction<? super {java.util.Comparator%0}>)
meth public java.util.Comparator<{java.util.Comparator%0}> thenComparingInt(java.util.function.ToIntFunction<? super {java.util.Comparator%0}>)
meth public java.util.Comparator<{java.util.Comparator%0}> thenComparingLong(java.util.function.ToLongFunction<? super {java.util.Comparator%0}>)
meth public static <%0 extends java.lang.Comparable<? super {%%0}>> java.util.Comparator<{%%0}> naturalOrder()
meth public static <%0 extends java.lang.Comparable<? super {%%0}>> java.util.Comparator<{%%0}> reverseOrder()
meth public static <%0 extends java.lang.Object, %1 extends java.lang.Comparable<? super {%%1}>> java.util.Comparator<{%%0}> comparing(java.util.function.Function<? super {%%0},? extends {%%1}>)
meth public static <%0 extends java.lang.Object, %1 extends java.lang.Object> java.util.Comparator<{%%0}> comparing(java.util.function.Function<? super {%%0},? extends {%%1}>,java.util.Comparator<? super {%%1}>)
meth public static <%0 extends java.lang.Object> java.util.Comparator<{%%0}> comparingDouble(java.util.function.ToDoubleFunction<? super {%%0}>)
meth public static <%0 extends java.lang.Object> java.util.Comparator<{%%0}> comparingInt(java.util.function.ToIntFunction<? super {%%0}>)
meth public static <%0 extends java.lang.Object> java.util.Comparator<{%%0}> comparingLong(java.util.function.ToLongFunction<? super {%%0}>)
meth public static <%0 extends java.lang.Object> java.util.Comparator<{%%0}> nullsFirst(java.util.Comparator<? super {%%0}>)
meth public static <%0 extends java.lang.Object> java.util.Comparator<{%%0}> nullsLast(java.util.Comparator<? super {%%0}>)
CLSS public abstract interface java.util.concurrent.Callable<%0 extends java.lang.Object>
anno 0 java.lang.FunctionalInterface()
meth public abstract {java.util.concurrent.Callable%0} call() throws java.lang.Exception
CLSS public org.netbeans.modules.glassfish.tooling.GlassFishIdeException
cons public !varargs init(java.lang.String,java.lang.Object[])
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
supr java.lang.RuntimeException
hfds LOGGER
CLSS public final !enum org.netbeans.modules.glassfish.tooling.GlassFishStatus
fld public final static int length
fld public final static org.netbeans.modules.glassfish.tooling.GlassFishStatus OFFLINE
fld public final static org.netbeans.modules.glassfish.tooling.GlassFishStatus ONLINE
fld public final static org.netbeans.modules.glassfish.tooling.GlassFishStatus SHUTDOWN
fld public final static org.netbeans.modules.glassfish.tooling.GlassFishStatus STARTUP
fld public final static org.netbeans.modules.glassfish.tooling.GlassFishStatus UNKNOWN
meth public !varargs static boolean add(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatusListener,boolean,org.netbeans.modules.glassfish.tooling.GlassFishStatus[])
meth public !varargs static boolean addChangeListener(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatusListener,org.netbeans.modules.glassfish.tooling.GlassFishStatus[])
meth public !varargs static boolean addListener(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatusListener,boolean,org.netbeans.modules.glassfish.tooling.GlassFishStatus[])
meth public !varargs static boolean start(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,boolean,org.netbeans.modules.glassfish.tooling.GlassFishStatusListener,org.netbeans.modules.glassfish.tooling.GlassFishStatus[])
meth public java.lang.String toString()
meth public static boolean add(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static boolean addCheckListener(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatusListener)
meth public static boolean addErrorListener(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatusListener)
meth public static boolean remove(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static boolean removeListener(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatusListener)
meth public static boolean shutdown(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static boolean start(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static boolean suspend(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static org.netbeans.modules.glassfish.tooling.GlassFishStatus getStatus(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static org.netbeans.modules.glassfish.tooling.GlassFishStatus getStatus(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatusListener)
meth public static org.netbeans.modules.glassfish.tooling.GlassFishStatus toValue(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.GlassFishStatus valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.GlassFishStatus[] values()
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishServerStatus get(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishServerStatus get(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatusListener)
meth public static void initScheduler(java.util.concurrent.ScheduledThreadPoolExecutor)
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.GlassFishStatus>
hfds LOGGER,OFFLINE_STR,ONLINE_STR,SHUTDOWN_STR,STARTUP_STR,UNKNOWN_STR,stringValuesMap
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.GlassFishStatusListener
meth public abstract void added()
meth public abstract void currentState(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatus,org.netbeans.modules.glassfish.tooling.data.GlassFishStatusTask)
meth public abstract void error(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.data.GlassFishStatusTask)
meth public abstract void newState(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.GlassFishStatus,org.netbeans.modules.glassfish.tooling.data.GlassFishStatusTask)
meth public abstract void removed()
CLSS public org.netbeans.modules.glassfish.tooling.GlassFishToolsConfig
cons public init()
meth public static boolean getProxyForLoopback()
meth public static void noProxyForLoopback()
meth public static void useProxyForLoopback()
supr java.lang.Object
hfds LOGGER,proxyForLoopback
CLSS public final !enum org.netbeans.modules.glassfish.tooling.TaskEvent
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent AUTH_FAILED
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent AUTH_FAILED_HTTP
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent BAD_GATEWAY
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent CMD_COMPLETED
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent CMD_EXCEPTION
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent CMD_FAILED
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent CMD_RUNNING
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent EMPTY_MESSAGE
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent EXCEPTION
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent ILLEGAL_STATE
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent JAVA_VM_EXEC_FAILED
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent NO_JAVA_VM
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent PROCESS_NOT_EXISTS
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent PROCESS_NOT_RUNNING
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent START
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent SUBMIT
fld public final static org.netbeans.modules.glassfish.tooling.TaskEvent WRONG_JAVA_VM
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.TaskEvent toValue(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.TaskEvent valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.TaskEvent[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.TaskEvent>
hfds AUTH_FAILED_HTTP_STR,AUTH_FAILED_STR,BAD_GATEWAY_STR,CMD_COMPLETED_STR,CMD_EXCEPTION_STR,CMD_FAILED_STR,CMD_RUNNING_STR,EMPTY_MESSAGE_STR,EXCEPTION_STR,ILLEGAL_STATE_STR,JAVA_VM_EXEC_FAILED_STR,NO_JAVA_VM_STR,PROCESS_NOT_EXISTS_STR,PROCESS_NOT_RUNNING_STR,START_STR,SUBMIT_STR,WRONG_JAVA_VM_STR,stringValuesMap
CLSS public final !enum org.netbeans.modules.glassfish.tooling.TaskState
fld public final static org.netbeans.modules.glassfish.tooling.TaskState COMPLETED
fld public final static org.netbeans.modules.glassfish.tooling.TaskState FAILED
fld public final static org.netbeans.modules.glassfish.tooling.TaskState READY
fld public final static org.netbeans.modules.glassfish.tooling.TaskState RUNNING
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.TaskState toValue(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.TaskState valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.TaskState[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.TaskState>
hfds COMPLETED_STR,FAILED_STR,READY_STR,RUNNING_STR,stringValuesMap
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.TaskStateListener
meth public abstract !varargs void operationStateChanged(org.netbeans.modules.glassfish.tooling.TaskState,org.netbeans.modules.glassfish.tooling.TaskEvent,java.lang.String[])
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.admin.ActionReport
innr public final static !enum ExitCode
meth public abstract java.lang.String getCommand()
meth public abstract java.lang.String getMessage()
meth public abstract org.netbeans.modules.glassfish.tooling.admin.ActionReport$ExitCode getExitCode()
CLSS public final static !enum org.netbeans.modules.glassfish.tooling.admin.ActionReport$ExitCode
outer org.netbeans.modules.glassfish.tooling.admin.ActionReport
fld public final static org.netbeans.modules.glassfish.tooling.admin.ActionReport$ExitCode FAILURE
fld public final static org.netbeans.modules.glassfish.tooling.admin.ActionReport$ExitCode SUCCESS
fld public final static org.netbeans.modules.glassfish.tooling.admin.ActionReport$ExitCode WARNING
meth public static org.netbeans.modules.glassfish.tooling.admin.ActionReport$ExitCode valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ActionReport$ExitCode[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.admin.ActionReport$ExitCode>
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.AdminFactory
cons public init()
meth public abstract org.netbeans.modules.glassfish.tooling.admin.Runner getRunner(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth public static org.netbeans.modules.glassfish.tooling.admin.AdminFactory getInstance(org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface)
supr java.lang.Object
hfds LOGGER
CLSS public org.netbeans.modules.glassfish.tooling.admin.AdminFactoryHttp
cons public init()
meth public org.netbeans.modules.glassfish.tooling.admin.Runner getRunner(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.AdminFactory
hfds instance
CLSS public org.netbeans.modules.glassfish.tooling.admin.AdminFactoryRest
cons public init()
meth public org.netbeans.modules.glassfish.tooling.admin.Runner getRunner(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.AdminFactory
hfds instance
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.Command
cons protected init(java.lang.String)
fld protected boolean retry
fld protected java.lang.String command
meth public boolean retry()
meth public java.lang.String getCommand()
supr java.lang.Object
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandAddResources
cons public init(java.io.File,java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString addResource(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.io.File,java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString addResource(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.io.File,java.lang.String,long)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND,LOGGER,xmlResFile
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandChangeAdminPassword
cons public init(java.lang.String,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandJava
hfds COMMAND,password
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandCreateAdminObject
cons public init(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
cons public init(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>,boolean)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,enabled,jndiName,properties,raName,resType
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandCreateCluster
cons public init(java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandCreateConnector
cons public init(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
cons public init(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>,boolean)
cons public init(java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>,boolean,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND,enabled,jndiName,poolName,properties
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandCreateConnectorConnectionPool
cons public init(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,connectionDefinition,poolName,properties,raName
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandCreateInstance
cons public init(java.lang.String,java.lang.String,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTargetName
hfds COMMAND,node
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandCreateJDBCConnectionPool
cons public init(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString createJDBCConnectionPool(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString createJDBCConnectionPool(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>,long)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,ERROR_MESSAGE,connectionPoolId,dataSourceClassName,properties,resType
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandCreateJDBCResource
cons public init(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString createJDBCResource(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString createJDBCResource(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>,long)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,ERROR_MESSAGE,connectionPoolId,jndiName,properties,target
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandDeleteCluster
cons public init(java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandDeleteInstance
cons public init(java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandDeleteResource
cons public init(java.lang.String,java.lang.String,java.lang.String,boolean)
cons public init(java.lang.String,java.lang.String,java.lang.String,java.lang.String,boolean)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND_PREFIX,cascade,cmdPropertyName,name
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandDeploy
cons public init(java.lang.String,java.lang.String,java.io.File,java.lang.String,java.util.Map<java.lang.String,java.lang.String>,java.io.File[])
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString deploy(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.io.File,org.netbeans.modules.glassfish.tooling.TaskStateListener)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTargetName
hfds COMMAND,ERROR_MESSAGE,contextRoot,dirDeploy,libraries,path,properties
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandDisable
cons public init(java.lang.String,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTargetName
hfds COMMAND
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandEnable
cons public init(java.lang.String,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTargetName
hfds COMMAND
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandException
cons public !varargs init(java.lang.String,java.lang.Object[])
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
fld public final static java.lang.String INVALID_BOOLEAN_CONSTANT = "Invalid String representing boolean constant."
fld public final static java.lang.String MANIFEST_INVALID_COMPONENT_ITEM = "Invalid component item"
supr org.netbeans.modules.glassfish.tooling.GlassFishIdeException
hfds HTTP_RESP_IO_EXCEPTION,HTTP_RESP_UNS_ENC_EXCEPTION,ILLEGAL_COMAND_INSTANCE,ILLEGAL_NULL_VALUE,RUNNER_HTTP_HEADERS,RUNNER_HTTP_URL,RUNNER_INIT,UNKNOWN_ADMIN_INTERFACE,UNKNOWN_VERSION,UNSUPPORTED_OPERATION,UNSUPPORTED_VERSION
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandFetchLogData
cons public init()
cons public init(java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,paramsAppendNext
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandGetProperty
cons public init(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultMap<java.lang.String,java.lang.String> getProperties(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultMap<java.lang.String,java.lang.String> getProperties(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String,long)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,LOGGER,propertyPattern
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.CommandJava
cons public init(java.lang.String,java.lang.String)
meth public java.lang.String getJavaHome()
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds javaHome
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.CommandJavaClassPath
cons public init(java.lang.String,java.lang.String,java.lang.String)
meth public java.lang.String getClassPath()
supr org.netbeans.modules.glassfish.tooling.admin.CommandJava
hfds classPath
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandListComponents
cons public init(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultMap<java.lang.String,java.util.List<java.lang.String>> listComponents(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND,ERROR_MESSAGE
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandListResources
cons public init(java.lang.String,java.lang.String)
meth public static java.lang.String command(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultList<java.lang.String> listResources(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND_PREFIX,COMMAND_SUFFIX,LOGGER
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandListWebServices
cons public init()
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandLocation
cons public init()
fld public final static java.lang.String BASIC_ROOT_RESULT_KEY = "Base-Root_value"
fld public final static java.lang.String DOMAIN_ROOT_RESULT_KEY = "Domain-Root_value"
meth public static boolean verifyResult(org.netbeans.modules.glassfish.tooling.admin.ResultMap<java.lang.String,java.lang.String>,org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandRedeploy
cons public init(java.lang.String,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.String>,java.io.File[],boolean)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTargetName
hfds COMMAND,contextRoot,keepState,libraries,properties
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandRestartDAS
cons public init(boolean)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString restartDAS(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,boolean)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,ERROR_MESSAGE,debug
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandRestoreDomain
cons public init(java.lang.String,java.io.File)
supr org.netbeans.modules.glassfish.tooling.admin.CommandJava
hfds COMMAND,domainBackup
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandSetProperty
cons public init(java.lang.String,java.lang.String)
cons public init(java.lang.String,java.lang.String,java.lang.String)
meth public java.lang.String getProperty()
meth public java.lang.String getValue()
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString setProperty(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.CommandSetProperty)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString setProperty(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.CommandSetProperty,long)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,ERROR_MESSAGE_MIDDLE,ERROR_MESSAGE_PREFIX,format,property,value
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandStartCluster
cons public init(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString startCluster(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND,ERROR_MESSAGE
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandStartDAS
cons public init(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandJavaClassPath
hfds COMMAND,domainDir,glassfishArgs,javaOpts
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandStartInstance
cons public init(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString startInstance(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND,ERROR_MESSAGE
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandStopCluster
cons public init(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString stopCluster(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND,ERROR_MESSAGE
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandStopDAS
cons public init()
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString stopDAS(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,ERROR_MESSAGE
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandStopInstance
cons public init(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString stopInstance(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds COMMAND,ERROR_MESSAGE
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.CommandTarget
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds target
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.CommandTargetName
supr org.netbeans.modules.glassfish.tooling.admin.CommandTarget
hfds name
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandUndeploy
cons public init(java.lang.String,java.lang.String)
supr org.netbeans.modules.glassfish.tooling.admin.CommandTargetName
hfds COMMAND
CLSS public org.netbeans.modules.glassfish.tooling.admin.CommandVersion
cons public init()
meth public static boolean verifyResult(org.netbeans.modules.glassfish.tooling.admin.ResultString,org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString getVersion(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion getGlassFishVersion(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds COMMAND,LOGGER
CLSS public org.netbeans.modules.glassfish.tooling.admin.MessagePart
cons public init()
meth public java.lang.String getMessage()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.admin.MessagePart> getChildren()
meth public java.util.Properties getProps()
supr java.lang.Object
hfds children,message,props
CLSS public org.netbeans.modules.glassfish.tooling.admin.PasswordFile
fld public final static java.lang.String PASSWORD_FILE_NAME = "password-file"
meth public boolean write()
meth public java.lang.String getAdminNewPassword()
meth public java.lang.String getAdminPassword()
meth public java.lang.String getFilePath()
meth public java.lang.String getMasterPassword()
meth public static java.nio.file.Path buildPasswordFilePath(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public void setAdminNewPassword(java.lang.String)
meth public void setAdminPassword(java.lang.String)
meth public void setMasterPassword(java.lang.String)
supr java.lang.Object
hfds ASSIGN_VALUE,AS_ADMIN_MASTERPASSWORD,AS_ADMIN_NEWPASSWORD,AS_ADMIN_PASSWORD,CREATE_FILE_PERMISSIONS,FINAL_FILE_PERMISSIONS,LOGGER,adminNewPassword,adminPassword,file,masterPassword
CLSS public org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent
cons public init()
cons public init(java.lang.String)
innr protected abstract static Token
innr protected static InputToken
innr protected static OutputToken
innr protected static TreeNode
meth public java.lang.String getCurrentPrompt()
meth public java.lang.String getPrompt()
meth public org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent$Token firstToken()
meth public org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent$Token nextToken()
meth public void addInput(java.lang.String,java.lang.String)
meth public void addInput(java.lang.String,java.lang.String,java.lang.String)
meth public void addInput(java.lang.String,java.lang.String[],java.lang.String)
meth public void addInput(java.lang.String[],java.lang.String)
meth public void addOutput(java.lang.String[])
meth public void addOutput(java.lang.String[],java.lang.String[])
supr java.lang.Object
hfds LOGGER,prompt,tokens
CLSS protected static org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent$InputToken
outer org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent
cons protected init(java.lang.String,java.lang.String[],java.lang.String)
meth protected java.lang.String getPrompt()
supr org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent$Token
hfds prompt
CLSS protected static org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent$OutputToken
outer org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent
cons protected init(java.lang.String[],java.lang.String[])
supr org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent$Token
CLSS protected abstract static org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent$Token
outer org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent
cons protected init(java.lang.String[],java.lang.String[])
meth protected boolean isSuccess()
meth protected boolean[] getMatchError()
meth protected int getMaxLen()
meth protected java.lang.String getPrompt()
meth protected org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult match(java.lang.CharSequence,int)
meth protected org.netbeans.modules.glassfish.tooling.utils.StringPrefixTree<org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent$TreeNode> getOutputStrings()
supr java.lang.Object
hfds matchError,matchSuccess,maxLen,outputStrings
CLSS protected static org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent$TreeNode
outer org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent
supr java.lang.Object
hfds index,result
CLSS public org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser
cons public init(java.io.Writer,java.io.Reader,org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent)
innr protected static Parser
meth public java.lang.String getOutput()
meth public org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult verify() throws java.io.IOException
supr java.lang.Object
hfds BUFF_SIZE,LOGGER,outBuff,outLen,outParser,stdIn,stdOut,verifydone
CLSS protected static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser
outer org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser
cons protected init(org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent)
innr protected final static !enum Input
innr protected final static !enum State
meth protected java.lang.String getOutputString()
meth protected org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State action(char)
meth protected org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult result()
meth protected void endOfLine(char)
meth protected void finish()
meth protected void firstChar(char)
meth protected void nextChar(char)
meth protected void nextCharWithCR(char)
meth protected void parse(char[],short)
supr java.lang.Object
hfds content,line,output,promptBuff,promptLen,result,state,token
CLSS protected final static !enum org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input
outer org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser
fld protected final static int length
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input CR
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input LF
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input PROMPT
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input STRING
meth protected static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input value(char,java.lang.String,org.netbeans.modules.glassfish.tooling.utils.CyclicStringBuffer)
meth public static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input>
CLSS protected final static !enum org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State
outer org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser
fld protected final static int length
fld protected final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State[][] transition
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State CR
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State ERROR
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State LINE
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State START
meth protected static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State next(org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State,org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$Input)
meth public static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.admin.ProcessIOParser$Parser$State>
CLSS public final !enum org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult ERROR
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult SUCCESS
fld public final static org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult UNKNOWN
meth public static org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.admin.ProcessIOResult>
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.Result<%0 extends java.lang.Object>
meth public abstract {org.netbeans.modules.glassfish.tooling.admin.Result%0} getValue()
meth public boolean isAuth()
meth public org.netbeans.modules.glassfish.tooling.TaskState getState()
meth public void setAuth(boolean)
supr java.lang.Object
hfds auth,state
CLSS public org.netbeans.modules.glassfish.tooling.admin.ResultList<%0 extends java.lang.Object>
meth public java.util.List<{org.netbeans.modules.glassfish.tooling.admin.ResultList%0}> getValue()
supr org.netbeans.modules.glassfish.tooling.admin.Result<java.util.List<{org.netbeans.modules.glassfish.tooling.admin.ResultList%0}>>
hfds value
CLSS public org.netbeans.modules.glassfish.tooling.admin.ResultLog
meth public org.netbeans.modules.glassfish.tooling.admin.ValueLog getValue()
supr org.netbeans.modules.glassfish.tooling.admin.Result<org.netbeans.modules.glassfish.tooling.admin.ValueLog>
hfds value
CLSS public org.netbeans.modules.glassfish.tooling.admin.ResultMap<%0 extends java.lang.Object, %1 extends java.lang.Object>
meth public java.util.Map<{org.netbeans.modules.glassfish.tooling.admin.ResultMap%0},{org.netbeans.modules.glassfish.tooling.admin.ResultMap%1}> getValue()
supr org.netbeans.modules.glassfish.tooling.admin.Result<java.util.Map<{org.netbeans.modules.glassfish.tooling.admin.ResultMap%0},{org.netbeans.modules.glassfish.tooling.admin.ResultMap%1}>>
hfds value
CLSS public org.netbeans.modules.glassfish.tooling.admin.ResultProcess
meth public org.netbeans.modules.glassfish.tooling.admin.ValueProcess getValue()
supr org.netbeans.modules.glassfish.tooling.admin.Result<org.netbeans.modules.glassfish.tooling.admin.ValueProcess>
hfds value
CLSS public org.netbeans.modules.glassfish.tooling.admin.ResultString
meth public java.lang.String getValue()
supr org.netbeans.modules.glassfish.tooling.admin.Result<java.lang.String>
hfds value
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.Runner
fld protected boolean silentFailureAllowed
fld protected java.lang.String path
fld protected org.netbeans.modules.glassfish.tooling.TaskStateListener[] stateListeners
fld protected org.netbeans.modules.glassfish.tooling.data.GlassFishServer server
fld public final static int HTTP_CONNECTION_TIMEOUT = 3000
fld public final static int HTTP_RETRY_DELAY = 3000
innr protected static StateChange
intf java.util.concurrent.Callable<org.netbeans.modules.glassfish.tooling.admin.Result>
meth protected abstract boolean processResponse()
meth protected abstract boolean readResponse(java.io.InputStream,java.net.HttpURLConnection)
meth protected abstract java.lang.String constructCommandUrl()
meth protected abstract java.lang.String getRequestMethod()
meth protected abstract org.netbeans.modules.glassfish.tooling.admin.Result createResult()
meth protected abstract void handleSend(java.net.HttpURLConnection) throws java.io.IOException
meth protected boolean handleReceive(java.net.HttpURLConnection) throws java.io.IOException
meth protected boolean isSilentFailureAllowed()
meth protected void handleSecureConnection(javax.net.ssl.HttpsURLConnection)
meth protected void prepareHttpConnection(java.net.HttpURLConnection)
meth public abstract boolean acceptsGzip()
meth public abstract boolean getDoOutput()
meth public java.lang.String getContentType()
meth public org.netbeans.modules.glassfish.tooling.admin.Result call()
meth public org.netbeans.modules.glassfish.tooling.admin.Result getResult()
meth public static void init(java.net.Authenticator)
meth public void setReadyState()
meth public void setSilentFailureAllowed(boolean)
meth public void setStateListeners(org.netbeans.modules.glassfish.tooling.TaskStateListener[])
supr java.lang.Object
hfds FALSE_VALUE,ITEM_SEPARATOR,LOGGER,PARAM_ASSIGN_VALUE,PARAM_SEPARATOR,QUERY_SEPARATOR,TRUE_VALUE,auth,authenticator,command,conn,executor,hconn,query,result,retry,urlToConnectTo
CLSS protected static org.netbeans.modules.glassfish.tooling.admin.Runner$StateChange
outer org.netbeans.modules.glassfish.tooling.admin.Runner
cons protected !varargs init(org.netbeans.modules.glassfish.tooling.admin.Runner,org.netbeans.modules.glassfish.tooling.TaskState,org.netbeans.modules.glassfish.tooling.TaskEvent,java.lang.String[])
meth protected org.netbeans.modules.glassfish.tooling.admin.Result handleStateChange()
supr java.lang.Object
hfds args,runner,taskEvent,taskState
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.RunnerAsadmin
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,java.lang.String)
fld protected java.io.Reader stdErr
fld protected java.io.Reader stdOut
fld protected java.io.Writer stdIn
fld protected org.netbeans.modules.glassfish.tooling.admin.PasswordFile passwordFile
fld protected org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent processIO
fld protected org.netbeans.modules.glassfish.tooling.admin.ResultString result
meth protected abstract org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent createProcessIOContent()
meth protected boolean processResponse()
meth protected boolean readResponse(java.io.InputStream,java.net.HttpURLConnection)
meth protected java.lang.String constructCommandUrl()
meth protected java.lang.String getRequestMethod()
meth protected org.netbeans.modules.glassfish.tooling.admin.Result createResult()
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
meth public boolean acceptsGzip()
meth public boolean getDoOutput()
meth public org.netbeans.modules.glassfish.tooling.admin.Result call()
supr org.netbeans.modules.glassfish.tooling.admin.Runner
hfds LOGGER,PASSWORD_FILE_PARAM,USER_PARAM,asadminJar
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerAsadminChangeAdminPassword
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent createProcessIOContent()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerAsadmin
hfds DOMAINDIR_PARAM,DOMAIN_NAME_PARAM,LOGGER,command
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerAsadminRestoreDomain
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected org.netbeans.modules.glassfish.tooling.admin.ProcessIOContent createProcessIOContent()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerAsadmin
hfds BACKUP_DIR_PARAM,BACKUP_FILE_PARAM,DOMAIN_DIR_PARAM,FORCE_PARAM,LOGGER,command
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
cons protected init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,java.lang.String,java.lang.String)
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected boolean readResponse(java.io.InputStream,java.net.HttpURLConnection)
meth protected java.lang.String constructCommandUrl()
meth protected java.lang.String getRequestMethod()
meth protected org.netbeans.modules.glassfish.tooling.admin.Result createResult()
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
meth protected void prepareHttpConnection(java.net.HttpURLConnection)
meth public boolean acceptsGzip()
meth public boolean getDoOutput()
meth public java.lang.String getLastModified()
supr org.netbeans.modules.glassfish.tooling.admin.Runner
hfds LIBRARY_SEPARATOR,manifest,result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpAddResources
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
CLSS public abstract interface !annotation org.netbeans.modules.glassfish.tooling.admin.RunnerHttpClass
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE])
intf java.lang.annotation.Annotation
meth public abstract !hasdefault java.lang.Class runner()
meth public abstract !hasdefault java.lang.String command()
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpCreateAdminObject
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds ENABLED_PARAM,JNDI_NAME_PARAM,PROPERTY_PARAM,RA_NAME_PARAM,RESOURCE_TYPE_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpCreateConnector
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds ENABLED_PARAM,JNDI_NAME_PARAM,POOL_NAME_PARAM,PROPERTY_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpCreateConnectorConnectionPool
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds CONNECTION_DEFINITION_PARAM,POOL_NAME_PARAM,PROPERTY_PARAM,RA_NAME_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpCreateInstance
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds CLUSTER_PARAM,DEFAULT_PARAM,LOGGER,NODE_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpCreateJDBCConnectionPool
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds CONN_POOL_ID_PARAM,DS_CLASS_NAME_PARAM,PROPERTY_PARAM,RESOURCE_TYPE_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpCreateJDBCResource
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds CONN_POOL_ID_PARAM,JNDI_NAME_PARAM,PROPERTY_PARAM,TARGET_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpDeleteInstance
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttpTarget
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpDeleteResource
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds DEFAULT_PARAM,LOGGER
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpDeploy
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
meth public boolean getDoOutput()
meth public java.io.InputStream getInputStream()
meth public java.lang.String getContentType()
meth public java.lang.String getLastModified()
meth public java.lang.String getRequestMethod()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds CTXROOT_PARAM,DEFAULT_PARAM,FORCE_PARAM,FORCE_VALUE,LIBRARIES_PARAM,LOGGER,NAME_PARAM,PROPERTIES_PARAM,TARGET_PARAM,command
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpEnableDisable
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds DEFAULT_PARAM,TARGET_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpGetProperty
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected org.netbeans.modules.glassfish.tooling.admin.ResultMap<java.lang.String,java.lang.String> createResult()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds LOGGER,result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpListComponents
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected org.netbeans.modules.glassfish.tooling.admin.ResultMap<java.lang.String,java.util.List<java.lang.String>> createResult()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttpTarget
hfds result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpListResources
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected org.netbeans.modules.glassfish.tooling.admin.ResultList<java.lang.String> createResult()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttpTarget
hfds result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpListWebServices
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected org.netbeans.modules.glassfish.tooling.admin.ResultList<java.lang.String> createResult()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpLocation
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected org.netbeans.modules.glassfish.tooling.admin.Result createResult()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpRedeploy
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds CTXROOT_PARAM,KEEP_STATE_PARAM,LIBRARIES_PARAM,NAME_PARAM,PROPERTIES_PARAM,TARGET_PARAM,command
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpRestartDAS
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds DEBUG_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpSetProperty
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpTarget
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds DEFAULT_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerHttpUndeploy
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
hfds DEFAULT_PARAM,TARGET_PARAM
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerLocal
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected boolean readResponse(java.io.InputStream,java.net.HttpURLConnection)
meth protected java.lang.String constructCommandUrl()
meth protected java.lang.String getRequestMethod()
meth protected org.netbeans.modules.glassfish.tooling.admin.Result createResult()
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
meth public boolean acceptsGzip()
meth public boolean getDoOutput()
meth public org.netbeans.modules.glassfish.tooling.admin.Result call()
supr org.netbeans.modules.glassfish.tooling.admin.Runner
hfds MAIN_CLASS,arguments,command,result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRest
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,java.lang.String)
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,java.lang.String,java.lang.String)
fld protected org.netbeans.modules.glassfish.tooling.admin.ResultString result
meth protected boolean isSuccess()
meth protected boolean processResponse()
meth protected boolean readResponse(java.io.InputStream,java.net.HttpURLConnection)
meth protected java.lang.String constructCommandUrl()
meth protected java.lang.String getRequestMethod()
meth protected org.netbeans.modules.glassfish.tooling.admin.Result createResult()
meth protected org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType getResponseType()
meth protected void appendIfNotEmpty(java.lang.StringBuilder,java.lang.String,java.lang.String)
meth protected void appendProperties(java.lang.StringBuilder,java.util.Map<java.lang.String,java.lang.String>,java.lang.String,boolean)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
meth protected void prepareHttpConnection(java.net.HttpURLConnection)
meth public boolean acceptsGzip()
meth public boolean getDoOutput()
supr org.netbeans.modules.glassfish.tooling.admin.Runner
hfds parser,report
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestAddResources
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public abstract interface !annotation org.netbeans.modules.glassfish.tooling.admin.RunnerRestClass
anno 0 java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy value=RUNTIME)
anno 0 java.lang.annotation.Target(java.lang.annotation.ElementType[] value=[TYPE])
intf java.lang.annotation.Annotation
meth public abstract !hasdefault java.lang.Class runner()
meth public abstract !hasdefault java.lang.String command()
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestCreateCluster
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected java.lang.String constructCommandUrl()
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestCreateConnector
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean isSuccess()
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestCreateConnectorPool
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean isSuccess()
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestCreateInstance
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestCreateJDBCConnectionPool
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean isSuccess()
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestCreateJDBCResource
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean isSuccess()
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestDeleteCluster
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestDeleteInstance
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestDeleteResource
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestDeploy
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
meth protected void prepareHttpConnection(java.net.HttpURLConnection)
meth public java.io.InputStream getInputStream()
meth public java.lang.String getContentType()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
hfds NEWLINE,command,multipartBoundary
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestDisable
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestEnable
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestFetchLogData
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected java.lang.String getRequestMethod()
meth protected org.netbeans.modules.glassfish.tooling.admin.Result createResult()
meth protected org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType getResponseType()
meth public boolean acceptsGzip()
meth public boolean getDoOutput()
meth public boolean readResponse(java.io.InputStream,java.net.HttpURLConnection)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
hfds headerAppendNext,lines,result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestGetProperty
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected org.netbeans.modules.glassfish.tooling.admin.ResultMap<java.lang.String,java.lang.String> createResult()
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
hfds LOGGER,result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestList
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected org.netbeans.modules.glassfish.tooling.admin.ResultList<java.lang.String> createResult()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
hfds result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestListApplications
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRestList
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestListResources
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRestList
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestListWebServices
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRestList
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestLocation
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected boolean processResponse()
meth protected org.netbeans.modules.glassfish.tooling.admin.Result createResult()
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
hfds command,result
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestSetProperty
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestStartCluster
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestStartInstance
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestStopCluster
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestStopDAS
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestStopInstance
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.RunnerRestUndeploy
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
CLSS public org.netbeans.modules.glassfish.tooling.admin.ServerAdmin
cons public init()
meth public !varargs static <%0 extends org.netbeans.modules.glassfish.tooling.admin.Result> java.util.concurrent.Future<{%%0}> exec(java.util.concurrent.ExecutorService,org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,org.netbeans.modules.glassfish.tooling.TaskStateListener[])
meth public !varargs static <%0 extends org.netbeans.modules.glassfish.tooling.admin.Result> java.util.concurrent.Future<{%%0}> exec(java.util.concurrent.ExecutorService,org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,org.netbeans.modules.glassfish.tooling.data.IdeContext,org.netbeans.modules.glassfish.tooling.TaskStateListener[])
meth public !varargs static <%0 extends org.netbeans.modules.glassfish.tooling.admin.Result> java.util.concurrent.Future<{%%0}> exec(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,org.netbeans.modules.glassfish.tooling.TaskStateListener[])
meth public !varargs static <%0 extends org.netbeans.modules.glassfish.tooling.admin.Result> java.util.concurrent.Future<{%%0}> exec(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,org.netbeans.modules.glassfish.tooling.data.IdeContext,org.netbeans.modules.glassfish.tooling.TaskStateListener[])
meth public static <%0 extends org.netbeans.modules.glassfish.tooling.admin.Result> java.util.concurrent.Future<{%%0}> exec(java.util.concurrent.ExecutorService,org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth public static <%0 extends org.netbeans.modules.glassfish.tooling.admin.Result> java.util.concurrent.Future<{%%0}> exec(java.util.concurrent.ExecutorService,org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,org.netbeans.modules.glassfish.tooling.data.IdeContext)
meth public static <%0 extends org.netbeans.modules.glassfish.tooling.admin.Result> java.util.concurrent.Future<{%%0}> exec(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth public static <%0 extends org.netbeans.modules.glassfish.tooling.admin.Result> java.util.concurrent.Future<{%%0}> exec(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command,org.netbeans.modules.glassfish.tooling.data.IdeContext)
meth public static java.util.concurrent.ExecutorService executor(int)
meth public static void init(java.net.Authenticator)
supr java.lang.Object
CLSS public org.netbeans.modules.glassfish.tooling.admin.ValueLog
meth public java.lang.String getParamsAppendNext()
meth public java.lang.String toString()
meth public java.util.List<java.lang.String> getLines()
supr java.lang.Object
hfds lines,paramsAppendNext
CLSS public org.netbeans.modules.glassfish.tooling.admin.ValueProcess
meth public java.lang.Process getProcess()
meth public java.lang.String getArguments()
meth public java.lang.String getProcessName()
meth public java.lang.String toString()
supr java.lang.Object
hfds arguments,process,processName
CLSS public org.netbeans.modules.glassfish.tooling.admin.cloud.CloudTasks
cons public init()
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultString deploy(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,java.lang.String,java.io.File,org.netbeans.modules.glassfish.tooling.TaskStateListener)
supr java.lang.Object
CLSS public org.netbeans.modules.glassfish.tooling.admin.cloud.CommandCloud
meth public java.lang.String getAccount()
supr org.netbeans.modules.glassfish.tooling.admin.Command
hfds account
CLSS public org.netbeans.modules.glassfish.tooling.admin.cloud.CommandCloudDeploy
cons public init(java.lang.String,java.io.File)
supr org.netbeans.modules.glassfish.tooling.admin.cloud.CommandCloud
hfds COMMAND,path
CLSS public org.netbeans.modules.glassfish.tooling.admin.cloud.RunnerHttpCloud
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.cloud.CommandCloud)
supr org.netbeans.modules.glassfish.tooling.admin.RunnerHttp
CLSS public org.netbeans.modules.glassfish.tooling.admin.cloud.RunnerRestCloudDeploy
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.admin.Command)
meth protected void handleSend(java.net.HttpURLConnection) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.RunnerRest
hfds NEWLINE,command,multipartBoundary
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.admin.response.ActionReport
innr public final static !enum ExitCode
meth public abstract java.lang.String getCommand()
meth public abstract java.lang.String getMessage()
meth public abstract org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode getExitCode()
CLSS public final static !enum org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode
outer org.netbeans.modules.glassfish.tooling.admin.response.ActionReport
fld public final static org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode FAILURE
fld public final static org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode NA
fld public final static org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode SUCCESS
fld public final static org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode WARNING
meth public static org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode>
CLSS public org.netbeans.modules.glassfish.tooling.admin.response.MessagePart
cons public init()
meth public java.lang.String getMessage()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.admin.response.MessagePart> getChildren()
meth public java.util.Properties getProperties()
meth public void setProperties(java.util.Properties)
supr java.lang.Object
hfds children,message,props
CLSS public final !enum org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType
fld public final static org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType APPLICATION_JSON
fld public final static org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType APPLICATION_XML
fld public final static org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType TEXT_PLAIN
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType>
hfds type
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.admin.response.ResponseParser
meth public abstract org.netbeans.modules.glassfish.tooling.admin.response.ActionReport parse(java.io.InputStream)
CLSS public org.netbeans.modules.glassfish.tooling.admin.response.ResponseParserFactory
cons public init()
meth public static org.netbeans.modules.glassfish.tooling.admin.response.RestResponseParser getRestParser(org.netbeans.modules.glassfish.tooling.admin.response.ResponseContentType)
supr java.lang.Object
hfds jsonParser,xmlParser
CLSS public org.netbeans.modules.glassfish.tooling.admin.response.RestActionReport
cons public init()
intf org.netbeans.modules.glassfish.tooling.admin.response.ActionReport
meth public boolean isSuccess()
meth public java.lang.String getCommand()
meth public java.lang.String getMessage()
meth public java.util.List<? extends org.netbeans.modules.glassfish.tooling.admin.response.ActionReport> getSubActionsReport()
meth public org.netbeans.modules.glassfish.tooling.admin.response.ActionReport$ExitCode getExitCode()
meth public org.netbeans.modules.glassfish.tooling.admin.response.MessagePart getTopMessagePart()
supr java.lang.Object
hfds actionDescription,exitCode,subActions,topMessagePart
CLSS public org.netbeans.modules.glassfish.tooling.admin.response.RestJSONResponseParser
cons public init()
meth public org.netbeans.modules.glassfish.tooling.admin.response.RestActionReport parse(java.io.InputStream)
meth public static void copy(java.io.InputStream,java.io.OutputStream) throws java.io.IOException
supr org.netbeans.modules.glassfish.tooling.admin.response.RestResponseParser
CLSS public abstract org.netbeans.modules.glassfish.tooling.admin.response.RestResponseParser
cons public init()
intf org.netbeans.modules.glassfish.tooling.admin.response.ResponseParser
meth public abstract org.netbeans.modules.glassfish.tooling.admin.response.RestActionReport parse(java.io.InputStream)
supr java.lang.Object
CLSS public org.netbeans.modules.glassfish.tooling.admin.response.RestXMLResponseParser
cons public init()
meth public org.netbeans.modules.glassfish.tooling.admin.response.RestActionReport parse(java.io.InputStream)
supr org.netbeans.modules.glassfish.tooling.admin.response.RestResponseParser
hfds ENTRY,MAP,factory,filter
hcls RestXMLResponseFilter
CLSS public org.netbeans.modules.glassfish.tooling.data.DataException
cons public !varargs init(java.lang.String,java.lang.Object[])
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
fld public final static java.lang.String INVALID_URL = "Invalid GlassFish URL"
supr org.netbeans.modules.glassfish.tooling.GlassFishIdeException
hfds INVALID_ADMIN_INTERFACE,INVALID_CONTAINER,SERVER_HOME_NONEXISTENT,SERVER_HOME_NO_VERSION,SERVER_HOME_NULL,SERVER_ROOT_NONEXISTENT,SERVER_ROOT_NULL,SERVER_URL_NULL
CLSS public final !enum org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface HTTP
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface REST
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface toValue(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface>
hfds HTTP_STR,REST_STR,stringValuesMap
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.data.GlassFishConfig
meth public abstract java.util.List<org.netbeans.modules.glassfish.tooling.server.config.LibraryNode> getLibrary()
meth public abstract org.netbeans.modules.glassfish.tooling.data.ToolsConfig getTools()
meth public abstract org.netbeans.modules.glassfish.tooling.server.config.JavaEESet getJavaEE()
meth public abstract org.netbeans.modules.glassfish.tooling.server.config.JavaSESet getJavaSE()
CLSS public final !enum org.netbeans.modules.glassfish.tooling.data.GlassFishContainer
fld public final static char SEPARATOR = ','
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer APPCLIENT
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer CONNECTOR
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer EAR
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer EJB
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer JRUBY
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer UNKNOWN
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer WEB
intf java.util.Comparator<org.netbeans.modules.glassfish.tooling.data.GlassFishContainer>
meth public int compare(org.netbeans.modules.glassfish.tooling.data.GlassFishContainer,org.netbeans.modules.glassfish.tooling.data.GlassFishContainer)
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer toValue(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishContainer[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishContainer>
hfds APPCLIENT_STR,CONNECTOR_STR,EAR_STR,EJB_STR,JRUBY_STR,UNKNOWN_STR,WEB_STR,stringValuesMap
CLSS public org.netbeans.modules.glassfish.tooling.data.GlassFishJavaEEConfig
cons public init(org.netbeans.modules.glassfish.tooling.server.config.JavaEESet,java.io.File)
meth public java.lang.String getVersion()
meth public java.util.Set<org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile> getProfiles()
meth public java.util.Set<org.netbeans.modules.glassfish.tooling.server.config.ModuleType> getModuleTypes()
supr java.lang.Object
hfds modules,profiles,version
CLSS public org.netbeans.modules.glassfish.tooling.data.GlassFishJavaSEConfig
cons public init(org.netbeans.modules.glassfish.tooling.server.config.JavaSESet)
meth public java.lang.String getVersion()
meth public java.util.Set<org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform> getPlatforms()
supr java.lang.Object
hfds platforms,version
CLSS public org.netbeans.modules.glassfish.tooling.data.GlassFishLibrary
cons public init(java.lang.String,java.util.List<java.net.URL>,java.util.List<java.net.URL>,java.util.List<java.lang.String>,java.util.List<java.net.URL>,java.util.List<org.netbeans.modules.glassfish.tooling.data.GlassFishLibrary$Maven>)
innr public static Maven
meth public java.lang.String getLibraryID()
meth public java.lang.String getMavenDeps()
meth public java.util.List<java.lang.String> getJavadocLookups()
meth public java.util.List<java.net.URL> getClasspath()
meth public java.util.List<java.net.URL> getJavadocs()
meth public java.util.List<java.net.URL> getSources()
supr java.lang.Object
hfds classpath,javadocLookups,javadocs,libraryID,maven,sources
CLSS public static org.netbeans.modules.glassfish.tooling.data.GlassFishLibrary$Maven
outer org.netbeans.modules.glassfish.tooling.data.GlassFishLibrary
cons public init(java.lang.String,java.lang.String,java.lang.String)
supr java.lang.Object
hfds artifactId,groupId,version
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.data.GlassFishServer
meth public abstract boolean isRemote()
meth public abstract int getAdminPort()
meth public abstract int getPort()
meth public abstract java.lang.String getAdminPassword()
meth public abstract java.lang.String getAdminUser()
meth public abstract java.lang.String getDomainName()
meth public abstract java.lang.String getDomainsFolder()
meth public abstract java.lang.String getHost()
meth public abstract java.lang.String getName()
meth public abstract java.lang.String getServerHome()
meth public abstract java.lang.String getServerRoot()
meth public abstract java.lang.String getUrl()
meth public abstract org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface getAdminInterface()
meth public abstract org.netbeans.modules.glassfish.tooling.data.GlassFishVersion getVersion()
CLSS public org.netbeans.modules.glassfish.tooling.data.GlassFishServerEntity
cons public init()
cons public init(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
intf org.netbeans.modules.glassfish.tooling.data.GlassFishServer
meth public boolean isRemote()
meth public int getAdminPort()
meth public int getPort()
meth public java.lang.String getAdminPassword()
meth public java.lang.String getAdminUser()
meth public java.lang.String getDomainName()
meth public java.lang.String getDomainsFolder()
meth public java.lang.String getHost()
meth public java.lang.String getName()
meth public java.lang.String getServerHome()
meth public java.lang.String getServerRoot()
meth public java.lang.String getUrl()
meth public org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface getAdminInterface()
meth public org.netbeans.modules.glassfish.tooling.data.GlassFishVersion getVersion()
meth public void setAdminInterface(org.netbeans.modules.glassfish.tooling.data.GlassFishAdminInterface)
meth public void setAdminPassword(java.lang.String)
meth public void setAdminPort(int)
meth public void setAdminUser(java.lang.String)
meth public void setDomainName(java.lang.String)
meth public void setDomainsFolder(java.lang.String)
meth public void setHost(java.lang.String)
meth public void setName(java.lang.String)
meth public void setPort(int)
meth public void setServerHome(java.lang.String)
meth public void setServerRoot(java.lang.String)
meth public void setUrl(java.lang.String)
meth public void setVersion(org.netbeans.modules.glassfish.tooling.data.GlassFishVersion)
supr java.lang.Object
hfds adminInterface,adminPassword,adminPort,adminUser,domainName,domainsFolder,host,name,port,serverHome,serverRoot,url,version
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.data.GlassFishServerStatus
meth public abstract org.netbeans.modules.glassfish.tooling.GlassFishStatus getStatus()
meth public abstract org.netbeans.modules.glassfish.tooling.data.GlassFishServer getServer()
CLSS public final !enum org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheck
fld public final static int length
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheck LOCATIONS
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheck PORT
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheck VERSION
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheck toValue(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheck valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheck[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheck>
hfds LOCATIONS_STR,LOGGER,PORT_STR,VERSION_STR,stringValuesMap
CLSS public final !enum org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult FAILED
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult SUCCESS
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult and(org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult,org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult and(org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult,org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult,org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult or(org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult,org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult or(org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult,org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult,org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult>
hfds and,or
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.data.GlassFishStatusTask
meth public abstract org.netbeans.modules.glassfish.tooling.TaskEvent getEvent()
meth public abstract org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheck getType()
meth public abstract org.netbeans.modules.glassfish.tooling.data.GlassFishStatusCheckResult getStatus()
CLSS public final !enum org.netbeans.modules.glassfish.tooling.data.GlassFishVersion
fld public final static char SEPARATOR = '.'
fld public final static int length
fld public final static java.lang.String SEPARATOR_PATTERN = "\u005c."
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_2
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_2_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_2_1_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_3
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_3_0_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_3_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_3_1_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_3_1_2
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_3_1_2_2
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_3_1_2_3
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_3_1_2_4
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_3_1_2_5
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_4
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_4_0_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_4_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_4_1_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_4_1_2
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_5
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_5_0_1
fld public final static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion GF_5_1_0
meth public boolean equals(org.netbeans.modules.glassfish.tooling.data.GlassFishVersion)
meth public boolean equalsMajorMinor(org.netbeans.modules.glassfish.tooling.data.GlassFishVersion)
meth public java.lang.String toFullString()
meth public java.lang.String toString()
meth public short getBuild()
meth public short getMajor()
meth public short getMinor()
meth public short getUpdate()
meth public static boolean eq(java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>,java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>)
meth public static boolean ge(java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>,java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>)
meth public static boolean gt(java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>,java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>)
meth public static boolean le(java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>,java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>)
meth public static boolean lt(java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>,java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>)
meth public static boolean ne(java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>,java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion toValue(java.lang.String)
anno 0 org.netbeans.api.annotations.common.CheckForNull()
anno 1 org.netbeans.api.annotations.common.NonNull()
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.data.GlassFishVersion>
hfds GF_1_STR,GF_1_STR_NEXT,GF_2_1_1_STR,GF_2_1_1_STR_NEXT,GF_2_1_STR,GF_2_1_STR_NEXT,GF_2_STR,GF_2_STR_NEXT,GF_3_0_1_STR,GF_3_0_1_STR_NEXT,GF_3_1_1_STR,GF_3_1_1_STR_NEXT,GF_3_1_2_2_STR,GF_3_1_2_3_STR,GF_3_1_2_4_STR,GF_3_1_2_5_STR,GF_3_1_2_STR,GF_3_1_2_STR_NEXT,GF_3_1_STR,GF_3_1_STR_NEXT,GF_3_STR,GF_3_STR_NEXT,GF_4_0_1_STR,GF_4_0_1_STR_NEXT,GF_4_1_1_STR,GF_4_1_1_STR_NEXT,GF_4_1_2_STR,GF_4_1_2_STR_NEXT,GF_4_1_STR,GF_4_1_STR_NEXT,GF_4_STR,GF_4_STR_NEXT,GF_5_0_1_STR,GF_5_0_1_STR_NEXT,GF_5_1_0_STR,GF_5_1_0_STR_NEXT,GF_5_STR,GF_5_STR_NEXT,build,major,minor,stringValuesMap,update,value
CLSS public org.netbeans.modules.glassfish.tooling.data.IdeContext
cons public init()
supr java.lang.Object
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.data.StartupArgs
meth public abstract java.lang.String getJavaHome()
meth public abstract java.util.List<java.lang.String> getGlassfishArgs()
meth public abstract java.util.List<java.lang.String> getJavaArgs()
meth public abstract java.util.Map<java.lang.String,java.lang.String> getEnvironmentVars()
CLSS public org.netbeans.modules.glassfish.tooling.data.StartupArgsEntity
cons public init()
cons public init(java.util.List<java.lang.String>,java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>,java.lang.String)
intf org.netbeans.modules.glassfish.tooling.data.StartupArgs
meth public java.lang.String getJavaHome()
meth public java.util.List<java.lang.String> getGlassfishArgs()
meth public java.util.List<java.lang.String> getJavaArgs()
meth public java.util.Map<java.lang.String,java.lang.String> getEnvironmentVars()
meth public void getJavaArgs(java.util.List<java.lang.String>)
meth public void getJavaHome(java.lang.String)
meth public void setEnvironmentVars(java.util.Map<java.lang.String,java.lang.String>)
meth public void setGlassfishArgs(java.util.List<java.lang.String>)
supr java.lang.Object
hfds environmentVars,glassfishArgs,javaArgs,javaHome
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.data.ToolConfig
meth public abstract java.lang.String getJar()
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.data.ToolsConfig
meth public abstract org.netbeans.modules.glassfish.tooling.data.ToolConfig getAsadmin()
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishAccount
meth public abstract java.lang.String getAcount()
meth public abstract java.lang.String getName()
meth public abstract java.lang.String getUrl()
meth public abstract java.lang.String getUserName()
meth public abstract java.lang.String getUserPassword()
meth public abstract org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishCloud getCloudEntity()
CLSS public org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishAccountEntity
cons public init()
cons public init(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishCloud)
fld protected java.lang.String account
fld protected java.lang.String name
fld protected java.lang.String userName
fld protected java.lang.String userPassword
fld protected org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishCloud cloudEntity
intf org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishAccount
meth public java.lang.String getAcount()
meth public java.lang.String getName()
meth public java.lang.String getUrl()
meth public java.lang.String getUserName()
meth public java.lang.String getUserPassword()
meth public java.lang.String toString()
meth public org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishCloud getCloudEntity()
meth public void setAcount(java.lang.String)
meth public void setCloudEntity(org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishCloud)
meth public void setName(java.lang.String)
meth public void setUrl(java.lang.String)
meth public void setUserName(java.lang.String)
meth public void setUserPassword(java.lang.String)
supr java.lang.Object
hfds url
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishCloud
meth public abstract int getPort()
meth public abstract java.lang.String getHost()
meth public abstract java.lang.String getName()
meth public abstract org.netbeans.modules.glassfish.tooling.data.GlassFishServer getLocalServer()
CLSS public org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishCloudEntity
cons public init()
cons public init(java.lang.String,java.lang.String,int,org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
fld protected int port
fld protected java.lang.String host
fld protected java.lang.String name
fld protected org.netbeans.modules.glassfish.tooling.data.GlassFishServer localServer
intf org.netbeans.modules.glassfish.tooling.data.cloud.GlassFishCloud
meth public int getPort()
meth public java.lang.String getHost()
meth public java.lang.String getName()
meth public java.lang.String toString()
meth public org.netbeans.modules.glassfish.tooling.data.GlassFishServer getLocalServer()
meth public void setHost(java.lang.String)
meth public void setLocalServer(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public void setName(java.lang.String)
meth public void setPort(int)
supr java.lang.Object
CLSS public org.netbeans.modules.glassfish.tooling.logging.Logger
cons public init(java.lang.Class)
meth public !varargs java.lang.String excMsg(java.lang.String,java.lang.String,java.lang.String[])
meth public boolean isLoggable(java.util.logging.Level)
meth public java.lang.String buildKey(java.lang.String,java.lang.String)
meth public java.lang.String excMsg(java.lang.String,java.lang.String)
meth public static boolean loggable(java.util.logging.Level)
anno 0 java.lang.Deprecated()
meth public static java.lang.String excMsg(java.lang.Class,java.lang.String)
meth public static java.lang.String logMsg(java.lang.Class,java.lang.String)
meth public static java.util.logging.Logger getLogger()
anno 0 java.lang.Deprecated()
meth public static void log(java.util.logging.Level,java.lang.String,java.lang.Object)
anno 0 java.lang.Deprecated()
meth public static void log(java.util.logging.Level,java.lang.String,java.lang.Object[])
anno 0 java.lang.Deprecated()
meth public static void log(java.util.logging.Level,java.lang.String,java.lang.Throwable)
anno 0 java.lang.Deprecated()
meth public void exception(java.util.logging.Level,java.lang.String)
meth public void log(java.util.logging.Level,java.lang.String,java.lang.String)
meth public void log(java.util.logging.Level,java.lang.String,java.lang.String,java.lang.Object)
meth public void log(java.util.logging.Level,java.lang.String,java.lang.String,java.lang.Object[])
meth public void log(java.util.logging.Level,java.lang.String,java.lang.String,java.lang.Throwable)
supr java.lang.Object
hfds EXCEPTIONS_FILE,KEY_SEPARATOR,LOGGER_NAME,MESSAGES_FILE,PROPERTIES_FILE_SUFFIX,cl,excProps,logProps,logger,name
CLSS public abstract org.netbeans.modules.glassfish.tooling.server.FetchLog
meth public java.io.InputStream getInputStream()
meth public void close()
supr java.lang.Object
hfds LOGGER,in,server,skip
CLSS public org.netbeans.modules.glassfish.tooling.server.FetchLogEvent
meth public org.netbeans.modules.glassfish.tooling.TaskState getState()
supr java.lang.Object
hfds state
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.server.FetchLogEventListener
meth public abstract void stateChanged(org.netbeans.modules.glassfish.tooling.server.FetchLogEvent)
CLSS public org.netbeans.modules.glassfish.tooling.server.FetchLogException
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
supr org.netbeans.modules.glassfish.tooling.GlassFishIdeException
CLSS public org.netbeans.modules.glassfish.tooling.server.FetchLogLocal
meth public org.netbeans.modules.glassfish.tooling.TaskState call()
supr org.netbeans.modules.glassfish.tooling.server.FetchLogPiped
hfds LOGGER
CLSS public abstract org.netbeans.modules.glassfish.tooling.server.FetchLogPiped
intf java.util.concurrent.Callable<org.netbeans.modules.glassfish.tooling.TaskState>
meth public boolean isRunning()
meth public final boolean removeListener(org.netbeans.modules.glassfish.tooling.server.FetchLogEventListener)
meth public final void addListener(org.netbeans.modules.glassfish.tooling.server.FetchLogEventListener)
meth public static org.netbeans.modules.glassfish.tooling.server.FetchLogPiped create(java.util.concurrent.ExecutorService,org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static org.netbeans.modules.glassfish.tooling.server.FetchLogPiped create(java.util.concurrent.ExecutorService,org.netbeans.modules.glassfish.tooling.data.GlassFishServer,boolean)
meth public static org.netbeans.modules.glassfish.tooling.server.FetchLogPiped create(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static org.netbeans.modules.glassfish.tooling.server.FetchLogPiped create(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,boolean)
meth public void close()
supr org.netbeans.modules.glassfish.tooling.server.FetchLog
hfds LOGGER,LOG_REFRESH_DELAY,PIPE_BUFFER_SIZE,eventListeners,executor,internalExecutor,out,taksExecute,task
CLSS public org.netbeans.modules.glassfish.tooling.server.FetchLogRemote
meth public org.netbeans.modules.glassfish.tooling.TaskState call()
supr org.netbeans.modules.glassfish.tooling.server.FetchLogPiped
hfds LOGGER
CLSS public org.netbeans.modules.glassfish.tooling.server.FetchLogSimple
cons public init(java.io.InputStream)
supr org.netbeans.modules.glassfish.tooling.server.FetchLog
CLSS public org.netbeans.modules.glassfish.tooling.server.JpaSupport
cons public init()
innr public static ApiVersion
meth public static org.netbeans.modules.glassfish.tooling.server.JpaSupport$ApiVersion getApiVersion(org.netbeans.modules.glassfish.tooling.data.GlassFishVersion)
supr java.lang.Object
hfds JPA_PROVIDER_SINCE_V1,JPA_PROVIDER_SINCE_V3,jpaSupport
CLSS public static org.netbeans.modules.glassfish.tooling.server.JpaSupport$ApiVersion
outer org.netbeans.modules.glassfish.tooling.server.JpaSupport
meth public boolean is10()
meth public boolean is20()
meth public boolean is21()
meth public java.lang.String getProvider()
supr java.lang.Object
hfds _1_0,_2_0,_2_1,provider
CLSS public org.netbeans.modules.glassfish.tooling.server.ServerStatus
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,boolean)
innr public final static !enum Status
innr public static Result
innr public static ResultLocations
innr public static ResultVersion
intf java.io.Closeable
meth public org.netbeans.modules.glassfish.tooling.server.ServerStatus$Result getAdminPortResult()
meth public org.netbeans.modules.glassfish.tooling.server.ServerStatus$ResultLocations getLocationsResult()
meth public org.netbeans.modules.glassfish.tooling.server.ServerStatus$ResultVersion getVersionResult()
meth public void check()
meth public void close()
supr java.lang.Object
hfds COMAND_STARTUP_TIMEOUT,COMAND_TIMEOUT,COMAND_TIMEOUT_MIN,CONNECT_TIMEOUT,EXECUTOR_POOL_SIZE,LOGGER,adminPortTask,executor,locationsTask,versionTask
hcls AdminPortTask,LocationsTask,Task,VersionTask
CLSS public static org.netbeans.modules.glassfish.tooling.server.ServerStatus$Result
outer org.netbeans.modules.glassfish.tooling.server.ServerStatus
meth public java.lang.String getExceptionMeasage()
meth public java.lang.String getServerName()
meth public org.netbeans.modules.glassfish.tooling.TaskEvent getFailureEvent()
meth public org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status getStatus()
supr java.lang.Object
hfds ex,exceptionMeasage,failureEvent,ioe,serverName,status
CLSS public static org.netbeans.modules.glassfish.tooling.server.ServerStatus$ResultLocations
outer org.netbeans.modules.glassfish.tooling.server.ServerStatus
meth public org.netbeans.modules.glassfish.tooling.admin.ResultMap<java.lang.String,java.lang.String> getResult()
supr org.netbeans.modules.glassfish.tooling.server.ServerStatus$Result
hfds result
CLSS public static org.netbeans.modules.glassfish.tooling.server.ServerStatus$ResultVersion
outer org.netbeans.modules.glassfish.tooling.server.ServerStatus
meth public org.netbeans.modules.glassfish.tooling.admin.ResultString getResult()
supr org.netbeans.modules.glassfish.tooling.server.ServerStatus$Result
hfds result
CLSS public final static !enum org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status
outer org.netbeans.modules.glassfish.tooling.server.ServerStatus
fld public final static org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status EXCEPTION
fld public final static org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status FAILED
fld public final static org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status FATAL
fld public final static org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status INVALID
fld public final static org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status SUCCESS
fld public final static org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status TIMEOUT
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.server.ServerStatus$Status>
CLSS public org.netbeans.modules.glassfish.tooling.server.ServerTasks
cons public init()
innr public final static !enum StartMode
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultProcess startServer(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.data.StartupArgs)
meth public static org.netbeans.modules.glassfish.tooling.admin.ResultProcess startServer(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,org.netbeans.modules.glassfish.tooling.data.StartupArgs,org.netbeans.modules.glassfish.tooling.server.ServerTasks$StartMode)
supr java.lang.Object
hfds DAS_NAME,LOGGER
CLSS public final static !enum org.netbeans.modules.glassfish.tooling.server.ServerTasks$StartMode
outer org.netbeans.modules.glassfish.tooling.server.ServerTasks
fld public final static org.netbeans.modules.glassfish.tooling.server.ServerTasks$StartMode DEBUG
fld public final static org.netbeans.modules.glassfish.tooling.server.ServerTasks$StartMode PROFILE
fld public final static org.netbeans.modules.glassfish.tooling.server.ServerTasks$StartMode START
meth public static org.netbeans.modules.glassfish.tooling.server.ServerTasks$StartMode valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.ServerTasks$StartMode[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.server.ServerTasks$StartMode>
CLSS public org.netbeans.modules.glassfish.tooling.server.config.AsadminTool
cons public init(java.lang.String,java.lang.String)
intf org.netbeans.modules.glassfish.tooling.data.ToolConfig
meth public java.lang.String getJar()
supr org.netbeans.modules.glassfish.tooling.server.config.GlassFishTool
hfds jar
CLSS public org.netbeans.modules.glassfish.tooling.server.config.Config
cons public !varargs init(java.net.URL,org.netbeans.modules.glassfish.tooling.server.config.Config$Next[])
innr public static Next
supr java.lang.Object
hfds configFiles,index
CLSS public static org.netbeans.modules.glassfish.tooling.server.config.Config$Next
outer org.netbeans.modules.glassfish.tooling.server.config.Config
cons public init(org.netbeans.modules.glassfish.tooling.data.GlassFishVersion,java.net.URL)
supr java.lang.Object
hfds configFile,version
CLSS public org.netbeans.modules.glassfish.tooling.server.config.ConfigBuilder
meth public java.util.List<org.netbeans.modules.glassfish.tooling.data.GlassFishLibrary> getLibraries(org.netbeans.modules.glassfish.tooling.data.GlassFishVersion)
meth public org.netbeans.modules.glassfish.tooling.data.GlassFishJavaEEConfig getJavaEEConfig(org.netbeans.modules.glassfish.tooling.data.GlassFishVersion)
meth public org.netbeans.modules.glassfish.tooling.data.GlassFishJavaSEConfig getJavaSEConfig(org.netbeans.modules.glassfish.tooling.data.GlassFishVersion)
supr java.lang.Object
hfds classpathHome,config,javaEEConfigCache,javaSEConfigCache,javadocsHome,libraryCache,srcHome,version
CLSS public org.netbeans.modules.glassfish.tooling.server.config.ConfigBuilderProvider
cons public init()
meth public static java.net.URL getBuilderConfig(org.netbeans.modules.glassfish.tooling.data.GlassFishVersion)
meth public static org.netbeans.modules.glassfish.tooling.server.config.ConfigBuilder getBuilder(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static void destroyBuilder(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
supr java.lang.Object
hfds CONFIG_V3,CONFIG_V4,CONFIG_V4_1,CONFIG_V5,CONFIG_V5_0_1,CONFIG_V5_1,builders,config
CLSS public org.netbeans.modules.glassfish.tooling.server.config.ConfigUtils
cons public init()
supr java.lang.Object
hfds MVN_PROPS_PATTERN,MVN_PROP_ARTIFACT_ID,MVN_PROP_GROUP_ID,MVN_PROP_VERSION
CLSS public org.netbeans.modules.glassfish.tooling.server.config.FileSet
cons public init(java.util.List<java.lang.String>,java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.util.List<java.lang.String>>,java.util.List<java.lang.String>)
cons public init(java.util.List<java.lang.String>,java.util.Map<java.lang.String,java.util.List<java.lang.String>>)
meth public java.util.List<java.lang.String> getLinks()
meth public java.util.List<java.lang.String> getLookups()
meth public java.util.List<java.lang.String> getPaths()
meth public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getFilesets()
supr java.lang.Object
hfds filesets,links,lookups,paths
CLSS public org.netbeans.modules.glassfish.tooling.server.config.GlassFishConfigManager
cons public init()
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishConfig getConfig(java.net.URL)
supr java.lang.Object
CLSS public org.netbeans.modules.glassfish.tooling.server.config.GlassFishConfigXMLImpl
cons public init(java.net.URL)
intf org.netbeans.modules.glassfish.tooling.data.GlassFishConfig
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.config.LibraryNode> getLibrary()
meth public org.netbeans.modules.glassfish.tooling.server.config.JavaEESet getJavaEE()
meth public org.netbeans.modules.glassfish.tooling.server.config.JavaSESet getJavaSE()
meth public org.netbeans.modules.glassfish.tooling.server.config.Tools getTools()
supr java.lang.Object
hfds configFile,readDone,reader
CLSS public abstract org.netbeans.modules.glassfish.tooling.server.config.GlassFishTool
cons public init(java.lang.String)
meth public java.lang.String getLib()
supr java.lang.Object
hfds lib
CLSS public final !enum org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile
fld public final static char TYPE_SEPARATOR = '-'
fld public final static int length
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_2
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_3
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_4
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_5
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_6
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_6_web
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_7
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_7_web
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_8
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v1_8_web
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v8_0_0
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile v8_0_0_web
innr public final static !enum Type
innr public final static !enum Version
meth public java.lang.String toString()
meth public org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Type getType()
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile toValue(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile toValue(java.lang.String,java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile>
hfds name,stringValuesMap,type,version
CLSS public final static !enum org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Type
outer org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Type FULL
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Type WEB
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Type valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Type[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Type>
hfds name
CLSS public final static !enum org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version
outer org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version v1_2
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version v1_3
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version v1_4
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version v1_5
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version v1_6
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version v1_7
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version v1_8
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version v8_0_0
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile$Version>
hfds name
CLSS public org.netbeans.modules.glassfish.tooling.server.config.JavaEESet
cons public init(java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.JavaEEModuleReader$Module>,java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileReader$Profile>,java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileCheckReader$Check>,java.lang.String)
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.JavaEEModuleReader$Module> getModules()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileReader$Profile> getProfiles()
meth public java.util.Set<org.netbeans.modules.glassfish.tooling.server.config.JavaEEProfile> profiles(java.io.File)
meth public java.util.Set<org.netbeans.modules.glassfish.tooling.server.config.ModuleType> moduleTypes(java.io.File)
meth public void reset()
supr org.netbeans.modules.glassfish.tooling.server.config.JavaSet
hfds checkResults,checks,modules,profiles
CLSS public final !enum org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform
fld public final static char SEPARATOR = '.'
fld public final static int length
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform v1_1
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform v1_2
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform v1_3
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform v1_4
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform v1_5
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform v1_6
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform v1_7
fld public final static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform v1_8
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform toValue(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform>
hfds V1_1_STR,V1_2_STR,V1_3_STR,V1_4_STR,V1_5_STR,V1_6_STR,V1_7_STR,V1_8_STR,stringValuesMap
CLSS public org.netbeans.modules.glassfish.tooling.server.config.JavaSESet
cons public init(java.util.List<java.lang.String>,java.lang.String)
meth public java.util.List<java.lang.String> getPlatforms()
meth public java.util.Set<org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform> platforms()
supr org.netbeans.modules.glassfish.tooling.server.config.JavaSet
hfds platforms
CLSS public abstract org.netbeans.modules.glassfish.tooling.server.config.JavaSet
cons public init(java.lang.String)
meth public java.lang.String getVersion()
supr java.lang.Object
hfds version
CLSS public org.netbeans.modules.glassfish.tooling.server.config.LibraryNode
cons public init(java.lang.String,org.netbeans.modules.glassfish.tooling.server.config.FileSet,org.netbeans.modules.glassfish.tooling.server.config.FileSet,org.netbeans.modules.glassfish.tooling.server.config.FileSet)
supr java.lang.Object
hfds classpath,javadocs,libraryID,sources
CLSS public final !enum org.netbeans.modules.glassfish.tooling.server.config.ModuleType
fld public final static int length
fld public final static org.netbeans.modules.glassfish.tooling.server.config.ModuleType CAR
fld public final static org.netbeans.modules.glassfish.tooling.server.config.ModuleType EAR
fld public final static org.netbeans.modules.glassfish.tooling.server.config.ModuleType EJB
fld public final static org.netbeans.modules.glassfish.tooling.server.config.ModuleType RAR
fld public final static org.netbeans.modules.glassfish.tooling.server.config.ModuleType WAR
meth public java.lang.String toString()
meth public static org.netbeans.modules.glassfish.tooling.server.config.ModuleType toValue(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.config.ModuleType valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.config.ModuleType[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.server.config.ModuleType>
hfds CAR_STR,EAR_STR,EJB_STR,RAR_STR,WAR_STR,stringValuesMap
CLSS public org.netbeans.modules.glassfish.tooling.server.config.ServerConfigException
cons public !varargs init(java.lang.String,java.lang.Object[])
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
supr org.netbeans.modules.glassfish.tooling.GlassFishIdeException
hfds INVALID_EE_PLATFORM_TYPE,INVALID_MODULE_TYPE_NAME,INVALID_SE_PLATFORM_VERSION
CLSS public org.netbeans.modules.glassfish.tooling.server.config.Tools
cons public init(org.netbeans.modules.glassfish.tooling.server.config.AsadminTool)
intf org.netbeans.modules.glassfish.tooling.data.ToolsConfig
meth public org.netbeans.modules.glassfish.tooling.server.config.AsadminTool getAsadmin()
supr java.lang.Object
hfds asadmin
CLSS public abstract org.netbeans.modules.glassfish.tooling.server.parser.AbstractReader
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds path
CLSS public abstract org.netbeans.modules.glassfish.tooling.server.parser.ConfigReader
cons public init()
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
supr java.lang.Object
hfds filesetReader,pathReader
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderClasspath
cons public init()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
supr org.netbeans.modules.glassfish.tooling.server.parser.ConfigReader
CLSS public abstract org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderJava
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.AbstractReader
hfds VERSION_ATTR,version
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderJavaEE
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public void endNode(java.lang.String) throws org.xml.sax.SAXException
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderJava
hfds NODE,checkReader,javaEE,moduleReader,profileReader
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderJavaSE
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public void endNode(java.lang.String) throws org.xml.sax.SAXException
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderJava
hfds NODE,javaSE,platformReader
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderJavadocs
cons public init()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
supr org.netbeans.modules.glassfish.tooling.server.parser.ConfigReader
hfds linkReader,lookupReader
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderServer
cons public init()
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.config.LibraryNode> getLibraries()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public org.netbeans.modules.glassfish.tooling.server.config.JavaEESet getJavaEE()
meth public org.netbeans.modules.glassfish.tooling.server.config.JavaSESet getJavaSE()
meth public org.netbeans.modules.glassfish.tooling.server.config.Tools getTools()
meth public void endNode(java.lang.String) throws org.xml.sax.SAXException
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds actualLibID,classpathReader,configReaderTools,javaEEReader,javaSEReader,javadocsReader,libraries,sourcesReader
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderSources
cons public init()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
supr org.netbeans.modules.glassfish.tooling.server.parser.ConfigReader
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.ConfigReaderTools
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public void endNode(java.lang.String) throws org.xml.sax.SAXException
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.AbstractReader
hfds LIB_ATTR,NODE,lib,tools,toolsAsadminReader
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.FilesetReader
cons public init()
meth public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getFilesets()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void readChildren(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void reset()
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds actualFileset,filesets
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.HttpData
cons public init(java.lang.String,int,boolean)
meth public boolean isSecure()
meth public int getPort()
meth public java.lang.String getId()
meth public java.lang.String toString()
supr java.lang.Object
hfds id,port,secure
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.HttpListenerReader
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.String)
fld protected static boolean readData
fld public final static java.lang.String CONFIG_PATH = "/domain/configs/config"
fld public final static java.lang.String DEFAULT_PATH = "/domain/configs/config/http-service/http-listener"
fld public final static java.lang.String DEFAULT_TARGET = "server"
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public java.util.Map<java.lang.String,org.netbeans.modules.glassfish.tooling.server.parser.HttpData> getResult()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds LOGGER,path,result
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.JavaEEModuleReader
innr public Module
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.JavaEEModuleReader$Module> getModules()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void reset()
supr org.netbeans.modules.glassfish.tooling.server.parser.AbstractReader
hfds CHECK_ATTR,NODE,TYPE_ATTR,modules
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.JavaEEModuleReader$Module
outer org.netbeans.modules.glassfish.tooling.server.parser.JavaEEModuleReader
meth public java.lang.String getCheck()
meth public java.lang.String getType()
supr java.lang.Object
hfds check,type
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileCheckReader
innr public Check
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public void endNode(java.lang.String) throws org.xml.sax.SAXException
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void reset()
supr org.netbeans.modules.glassfish.tooling.server.parser.AbstractReader
hfds NAME_ATTR,NODE,checks,currentCheck,pathReader
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileCheckReader$Check
outer org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileCheckReader
meth public java.lang.String getName()
meth public java.util.List<java.lang.String> getFiles()
supr java.lang.Object
hfds files,name
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileReader
innr public Profile
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileReader$Profile> getProfiles()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void reset()
supr org.netbeans.modules.glassfish.tooling.server.parser.AbstractReader
hfds CHECK_ATTR,NODE,TYPE_ATTR,VERSION_ATTR,profiles
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileReader$Profile
outer org.netbeans.modules.glassfish.tooling.server.parser.JavaEEProfileReader
meth public java.lang.String getCheck()
meth public java.lang.String getType()
meth public java.lang.String getVersion()
supr java.lang.Object
hfds check,type,version
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.JavaSEPlatformReader
meth public java.util.List<java.lang.String> getPlatforms()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void reset()
supr org.netbeans.modules.glassfish.tooling.server.parser.AbstractReader
hfds NODE,VERSION_ATTR,platforms
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.JmxConnectorReader
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.String)
fld protected static boolean readData
fld public final static java.lang.String CONFIG_PATH = "/domain/configs/config"
fld public final static java.lang.String DEFAULT_PATH = "/domain/configs/config/admin-service/jmx-connector"
fld public final static java.lang.String DEFAULT_TARGET = "server"
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public java.lang.String getResult()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds LOGGER,path,result
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.JvmConfigReader
cons public init(java.lang.String)
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public boolean isMonitoringEnabled()
meth public java.util.List<java.lang.String> getOptList()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public java.util.Map<java.lang.String,java.lang.String> getPropMap()
meth public org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener getConfigFinder()
meth public org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener getMonitoringFinder()
meth public org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener getServerFinder()
meth public void endNode(java.lang.String) throws org.xml.sax.SAXException
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void readCData(java.lang.String,char[],int,int) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds JVM_OPTIONS_TAG,b,isMonitoringEnabled,optList,propMap,readConfig,serverConfigName,serverName
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.LinkReader
cons public init()
meth public java.util.List<java.lang.String> getLinks()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void reset()
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds links
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.LookupReader
cons public init()
meth public java.util.List<java.lang.String> getLookups()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void reset()
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds lookups
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.NetworkListenerReader
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.String)
fld protected static boolean readData
fld public final static java.lang.String CONFIG_PATH = "/domain/configs/config"
fld public final static java.lang.String DEFAULT_PATH = "/domain/configs/config/network-config/network-listeners/network-listener"
fld public final static java.lang.String DEFAULT_TARGET = "server"
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public java.util.Map<java.lang.String,org.netbeans.modules.glassfish.tooling.server.parser.HttpData> getResult()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds LOGGER,path,result
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.PathReader
meth public java.util.List<java.lang.String> getPaths()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void reset()
supr org.netbeans.modules.glassfish.tooling.server.parser.AbstractReader
hfds NODE,paths
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader
cons public init(java.lang.String,java.lang.String)
cons public init(org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType)
innr public final static !enum ResourceType
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getResourceData()
meth public void endNode(java.lang.String) throws org.xml.sax.SAXException
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void readChildren(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds keyName,path,properties,resourceData
CLSS public final static !enum org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType
outer org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader
fld public final static org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType ADMIN_OBJECT_RESOURCE
fld public final static org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType CONNECTOR_POOL
fld public final static org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType CONNECTOR_RESOURCE
fld public final static org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType JAVA_MAIL
fld public final static org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType JDBC_CONNECTION_POOL
fld public final static org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType JDBC_RESOURCE
meth public java.lang.String getDefaultKeyName()
meth public java.lang.String getDefaultPath()
meth public static org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType valueOf(java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType[] values()
supr java.lang.Enum<org.netbeans.modules.glassfish.tooling.server.parser.ResourcesReader$ResourceType>
hfds defaultKeyName,defaultPath
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.TargetConfigNameReader
cons public init()
cons public init(java.lang.String)
fld public final static java.lang.String DEFAULT_TARGET = "server"
fld public final static java.lang.String SERVER_PATH = "/domain/servers/server"
intf org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public java.lang.String getTargetConfigName()
meth public java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
hfds targetConfigName,targetName
CLSS public org.netbeans.modules.glassfish.tooling.server.parser.ToolsAsadminReader
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.netbeans.modules.glassfish.tooling.server.parser.AbstractReader
hfds JAR_ATTR,NODE,jar
CLSS public final org.netbeans.modules.glassfish.tooling.server.parser.TreeParser
innr public abstract static NodeListener
innr public static Path
meth public !varargs static boolean readXml(java.io.File,java.nio.charset.Charset,org.netbeans.modules.glassfish.tooling.server.parser.XMLReader[])
meth public !varargs static boolean readXml(java.io.File,org.netbeans.modules.glassfish.tooling.server.parser.XMLReader[])
meth public !varargs static boolean readXml(java.net.URL,org.netbeans.modules.glassfish.tooling.server.parser.XMLReader[])
meth public org.xml.sax.InputSource resolveEntity(java.lang.String,java.lang.String) throws java.io.IOException,org.xml.sax.SAXException
meth public void characters(char[],int,int) throws org.xml.sax.SAXException
meth public void endDocument() throws org.xml.sax.SAXException
meth public void endElement(java.lang.String,java.lang.String,java.lang.String) throws org.xml.sax.SAXException
meth public void startDocument() throws org.xml.sax.SAXException
meth public void startElement(java.lang.String,java.lang.String,java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr org.xml.sax.helpers.DefaultHandler
hfds DUMMY_RESOLVER,LOGGER,PATH_SEPARATOR,childNodeReader,depth,isFinerLoggable,isFinestLoggable,root,rover,skipping
hcls Node
CLSS public abstract static org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener
outer org.netbeans.modules.glassfish.tooling.server.parser.TreeParser
cons public init()
meth public void endNode(java.lang.String) throws org.xml.sax.SAXException
meth public void readAttributes(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void readCData(java.lang.String,char[],int,int) throws org.xml.sax.SAXException
meth public void readChildren(java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
supr java.lang.Object
CLSS public static org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path
outer org.netbeans.modules.glassfish.tooling.server.parser.TreeParser
cons public init(java.lang.String)
cons public init(java.lang.String,org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener)
meth public java.lang.String getPath()
meth public java.lang.String toString()
meth public org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$NodeListener getReader()
supr java.lang.Object
hfds path,reader
CLSS public abstract interface org.netbeans.modules.glassfish.tooling.server.parser.XMLReader
meth public abstract java.util.List<org.netbeans.modules.glassfish.tooling.server.parser.TreeParser$Path> getPathsToListen()
CLSS public org.netbeans.modules.glassfish.tooling.utils.CyclicStringBuffer
cons public init(int)
meth public boolean append(char)
meth public boolean equals(java.lang.String)
meth public boolean prepend(char)
meth public java.lang.String toString()
meth public void resize(int)
supr java.lang.Object
hfds LOGGER,beg,buff,len,size
CLSS public final org.netbeans.modules.glassfish.tooling.utils.EnumUtils
cons public init()
meth public final static boolean eq(java.lang.Enum<? extends java.lang.Enum>,java.lang.Enum<? extends java.lang.Enum>)
meth public final static boolean ge(java.lang.Enum<? extends java.lang.Enum>,java.lang.Enum<? extends java.lang.Enum>)
meth public final static boolean gt(java.lang.Enum<? extends java.lang.Enum>,java.lang.Enum<? extends java.lang.Enum>)
meth public final static boolean le(java.lang.Enum<? extends java.lang.Enum>,java.lang.Enum<? extends java.lang.Enum>)
meth public final static boolean lt(java.lang.Enum<? extends java.lang.Enum>,java.lang.Enum<? extends java.lang.Enum>)
meth public final static boolean ne(java.lang.Enum<? extends java.lang.Enum>,java.lang.Enum<? extends java.lang.Enum>)
supr java.lang.Object
CLSS public org.netbeans.modules.glassfish.tooling.utils.Jar
cons public init(java.io.File)
cons public init(java.lang.String)
fld public final static java.lang.String MANIFEST_BUNDLE_VERSION = "Bundle-Version"
meth public java.lang.String getBundleVersion()
meth public java.util.jar.Manifest getManifest()
meth public void close()
supr java.lang.Object
hfds jar
CLSS public org.netbeans.modules.glassfish.tooling.utils.JarException
cons public !varargs init(java.lang.String,java.lang.Object[])
cons public init()
cons public init(java.lang.String)
cons public init(java.lang.String,java.lang.Throwable)
supr org.netbeans.modules.glassfish.tooling.GlassFishIdeException
hfds CLOSE_ERROR,OPEN_ERROR
CLSS public org.netbeans.modules.glassfish.tooling.utils.JavaUtils
cons public init()
fld public final static java.lang.String JAVA_HOME_ENV = "JAVA_HOME"
fld public final static java.lang.String VM_CLASSPATH_OPTION = "-cp"
fld public final static java.nio.charset.Charset UTF_8
innr public static JavaVersion
meth public static java.lang.String javaVmExecutableFullPath(java.lang.String)
meth public static java.lang.String systemProperty(java.lang.String,java.lang.String)
meth public static java.lang.String systemProperty(java.lang.StringBuilder,java.lang.String,java.lang.String)
meth public static java.lang.String systemPropertyName(java.lang.String)
meth public static java.lang.String systemPropertyName(java.lang.StringBuilder,java.lang.String)
meth public static java.net.URL getPropertiesURL(java.lang.Class,java.lang.String)
meth public static org.netbeans.modules.glassfish.tooling.utils.JavaUtils$JavaVersion javaVmVersion(java.io.File)
supr java.lang.Object
hfds JAVA_BIN_DIR,JAVA_VM_EXE,VM_MIN_VERSION_TOKENS,VM_SYS_PROP_ASSIGN,VM_SYS_PROP_OPT,VM_SYS_PROP_QUOTE,VM_VERSION_OPT,VM_VERSION_PATTERN
CLSS public static org.netbeans.modules.glassfish.tooling.utils.JavaUtils$JavaVersion
outer org.netbeans.modules.glassfish.tooling.utils.JavaUtils
cons public init(int,int,int,int)
meth public int comapreTo(org.netbeans.modules.glassfish.tooling.utils.JavaUtils$JavaVersion)
meth public java.lang.String toString()
meth public org.netbeans.modules.glassfish.tooling.server.config.JavaSEPlatform toPlatform()
supr java.lang.Object
hfds major,minor,patch,revision
CLSS public org.netbeans.modules.glassfish.tooling.utils.LinkedList<%0 extends java.lang.Object>
cons public init()
innr public static Element
meth public boolean first()
meth public boolean isCurrent()
meth public boolean isEmpty()
meth public boolean isNext()
meth public boolean isPrevious()
meth public boolean last()
meth public boolean next()
meth public boolean previous()
meth public int size()
meth public java.lang.String toString()
meth public void addFirst({org.netbeans.modules.glassfish.tooling.utils.LinkedList%0})
meth public void addLast({org.netbeans.modules.glassfish.tooling.utils.LinkedList%0})
meth public void addNext({org.netbeans.modules.glassfish.tooling.utils.LinkedList%0})
meth public void addPrevious({org.netbeans.modules.glassfish.tooling.utils.LinkedList%0})
meth public void clear()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} getCurrent()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} getFirst()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} getLast()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} getNext()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} getPrevious()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} removeAndNext()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} removeAndNextOrPrevious()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} removeAndPrevious()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} removeAndPreviousOrNext()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} removeFirst()
meth public {org.netbeans.modules.glassfish.tooling.utils.LinkedList%0} removeLast()
supr java.lang.Object
hfds current,head,size,tail
CLSS public static org.netbeans.modules.glassfish.tooling.utils.LinkedList$Element<%0 extends java.lang.Object>
outer org.netbeans.modules.glassfish.tooling.utils.LinkedList
supr java.lang.Object
hfds next,previous,value
CLSS public org.netbeans.modules.glassfish.tooling.utils.NetUtils
cons public init()
fld public final static int PORT_CHECK_TIMEOUT = 2000
innr public static InetAddressComparator
meth public static boolean isPortListeningLocal(java.lang.String,int)
meth public static boolean isPortListeningRemote(java.lang.String,int)
meth public static boolean isPortListeningRemote(java.lang.String,int,int)
meth public static boolean isSecurePort(java.lang.String,int) throws java.io.IOException
meth public static java.util.Set<java.net.Inet4Address> getHostIP4s()
meth public static java.util.Set<java.net.Inet6Address> getHostIP6s()
meth public static java.util.Set<java.net.InetAddress> getHostIPs()
supr java.lang.Object
hfds INET_ADDRESS_COMPARATOR,LOGGER
CLSS public static org.netbeans.modules.glassfish.tooling.utils.NetUtils$InetAddressComparator
outer org.netbeans.modules.glassfish.tooling.utils.NetUtils
cons public init()
intf java.util.Comparator<java.net.InetAddress>
meth public int compare(java.net.InetAddress,java.net.InetAddress)
supr java.lang.Object
CLSS public org.netbeans.modules.glassfish.tooling.utils.OsUtils
cons public init()
fld public final static int FILE_SEPARATOR_LENGTH
fld public final static java.lang.String EXEC_SUFFIX
fld public final static java.lang.String LINES_SEPARATOR
fld public final static java.lang.String OS_NAME
fld public final static java.lang.String OS_NAME_PROPERTY = "os.name"
fld public final static java.lang.String OS_NAME_UPCASE
meth public static boolean isWin()
meth public static boolean rmDir(java.io.File)
meth public static boolean rmDirContent(java.io.File)
meth public static java.lang.String escapeParameters(java.lang.String[])
meth public static java.lang.String escapeString(java.lang.String)
meth public static java.lang.String joinPaths(java.lang.String,java.lang.String)
meth public static java.lang.String[] parseParameters(java.lang.String,java.lang.String)
meth public static void escapeString(java.lang.String,java.lang.StringBuffer)
supr java.lang.Object
hfds IS_WIN,OS_WIN_SUBSTR
CLSS public org.netbeans.modules.glassfish.tooling.utils.ServerUtils
cons public init()
fld public final static java.lang.String AS_JAVA_ENV = "AS_JAVA"
fld public final static java.lang.String BUNDLE_VERSION = "Bundle-Version"
fld public final static java.lang.String GFV3_JAR_MATCHER = "glassfish(?:-[0-9bSNAPHOT]+(?:\u005c.[0-9]+(?:_[0-9]+|)|).*|).jar"
fld public final static java.lang.String GFV3_VERSION_MATCHER = "(?:-[0-9bSNAPHOT]+(?:\u005c.[0-9]+(?:_[0-9]+|)|).*|).jar"
fld public final static java.lang.String GF_COMMON_UTIL_JAR = "common-util.jar"
fld public final static java.lang.String GF_DERBY_DIR_NAME = "javadb"
fld public final static java.lang.String GF_DERBY_ROOT_PROPERTY = "com.sun.aas.derbyRoot"
fld public final static java.lang.String GF_DOMAINS_DIR_NAME = "domains"
fld public final static java.lang.String GF_DOMAIN_CONFIG_DIR_NAME = "config"
fld public final static java.lang.String GF_DOMAIN_CONFIG_FILE_NAME = "domain.xml"
fld public final static java.lang.String GF_DOMAIN_ROOT_PROPERTY = "com.sun.aas.instanceRoot"
fld public final static java.lang.String GF_EMBEDDED_DIR_NAME = "embedded"
fld public final static java.lang.String GF_EMBEDDED_STATIC_SHELL_JAR = "glassfish-embedded-static-shell.jar"
fld public final static java.lang.String GF_HOME_PROPERTY = "com.sun.aas.installRoot"
fld public final static java.lang.String GF_JAVAHELP_JAR = "javahelp.jar"
fld public final static java.lang.String GF_JAVA_ROOT_PROPERTY = "com.sun.aas.javaRoot"
fld public final static java.lang.String GF_JERSEY_1_CORE_JAR = "jersey-core.jar"
fld public final static java.lang.String GF_JERSEY_2_COMMON_JAR = "jersey-common.jar"
fld public final static java.lang.String GF_LIB_DIR_NAME = "lib"
fld public final static java.lang.String GF_MODULES_DIR_NAME = "modules"
fld public final static java.lang.String GF_SERVICE_NOT_YET_READY_MSG = "V3 cannot process this command at this time, please wait"
fld public final static java.lang.String GF_VERIFIER_JAR = "verifier.jar"
fld public final static java.lang.String MANIFEST_COMPONENTS_SEPARATOR = ";"
fld public final static java.lang.String MANIFEST_EOL = "%%%EOL%%%"
fld public final static java.lang.String MANIFEST_RESOURCES_SEPARATOR = "[,;]"
fld public final static org.netbeans.modules.glassfish.tooling.utils.ServerUtils$GlassFishFilter GF_HOME_DIR_FILTER
fld public static java.lang.String GF_DOMAIN_ARG
fld public static java.lang.String GF_DOMAIN_DIR_ARG
fld public static java.lang.String GF_LOG_DIR_NAME
fld public static java.lang.String GF_LOG_FILE_NAME
fld public static java.lang.String VERIFIER_MAIN_CLASS
innr public static GlassFishFilter
meth public static boolean isAdminPortListening(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static boolean isAdminPortListening(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,int)
meth public static boolean isHttpPortListening(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static boolean isHttpPortListening(org.netbeans.modules.glassfish.tooling.data.GlassFishServer,int)
meth public static boolean notYetReadyMsg(java.lang.String)
meth public static java.io.File getCommonUtilJarInModules(java.lang.String)
meth public static java.io.File getFileFromPattern(java.lang.String,java.io.File)
meth public static java.io.File getJarInModules(java.lang.String,java.lang.String)
meth public static java.io.File getJarName(java.lang.String,java.lang.String)
meth public static java.io.File getJarName(java.lang.String,java.lang.String,java.lang.String)
meth public static java.io.File getJerseyCommonJarInModules(java.lang.String)
meth public static java.io.File getServerLogFile(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static java.lang.String basicAuthCredentials(java.lang.String,java.lang.String)
meth public static java.lang.String cmdLineArgument(java.lang.String,java.lang.String)
meth public static java.lang.String getDerbyRoot(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static java.lang.String getDomainConfigFile(java.lang.String,java.lang.String)
meth public static java.lang.String getDomainConfigPath(java.lang.String)
meth public static java.lang.String getDomainPath(org.netbeans.modules.glassfish.tooling.data.GlassFishServer)
meth public static java.lang.String getEmbeddedStaticShellJar(java.lang.String)
meth public static java.lang.String getJavaHelpJar(java.lang.String)
meth public static java.lang.String getJerseyVersion(java.lang.String)
meth public static java.lang.String getVerifierJar(java.lang.String)
meth public static java.lang.String getVersionString(java.lang.String)
meth public static java.lang.String javaRootProperty(java.lang.String)
meth public static java.lang.String manifestDecode(java.lang.String)
meth public static java.lang.String serverLogFileRelativePath()
meth public static org.netbeans.modules.glassfish.tooling.data.GlassFishVersion getServerVersion(java.lang.String)
meth public static void addComponentToMap(java.util.Map<java.lang.String,java.util.List<java.lang.String>>,java.lang.String)
meth public static void addPathElement(java.lang.StringBuilder,java.lang.String)
supr java.lang.Object
hfds AUTH_BASIC_FIELD_SEPARATPR,FULL_VERSION_METHOD,FULL_VERSION_PATTERN,LOGGER,MANIFEST_COMPONENT_COMP_PATTERN,MANIFEST_COMPONENT_COMP_REGEX,MANIFEST_COMPONENT_FULL_PATTERN,MANIFEST_COMPONENT_FULL_REGEX,VERSION_CLASS
hcls VersionFilter
CLSS public static org.netbeans.modules.glassfish.tooling.utils.ServerUtils$GlassFishFilter
outer org.netbeans.modules.glassfish.tooling.utils.ServerUtils
cons public init()
intf java.io.FileFilter
meth public boolean accept(java.io.File)
supr java.lang.Object
CLSS public org.netbeans.modules.glassfish.tooling.utils.StringPrefixTree<%0 extends java.lang.Object>
cons public init(boolean)
meth public boolean add(java.lang.String,{org.netbeans.modules.glassfish.tooling.utils.StringPrefixTree%0})
meth public int size()
meth public void clear()
meth public {org.netbeans.modules.glassfish.tooling.utils.StringPrefixTree%0} match(java.lang.CharSequence)
meth public {org.netbeans.modules.glassfish.tooling.utils.StringPrefixTree%0} match(java.lang.CharSequence,int)
meth public {org.netbeans.modules.glassfish.tooling.utils.StringPrefixTree%0} matchCyclicBuffer(char[],int,int)
meth public {org.netbeans.modules.glassfish.tooling.utils.StringPrefixTree%0} prefixMatch(java.lang.CharSequence)
meth public {org.netbeans.modules.glassfish.tooling.utils.StringPrefixTree%0} prefixMatch(java.lang.CharSequence,int)
meth public {org.netbeans.modules.glassfish.tooling.utils.StringPrefixTree%0} remove(java.lang.String)
supr java.lang.Object
hfds caseSensitive,root,size
hcls Node,StackItem
CLSS public org.netbeans.modules.glassfish.tooling.utils.Utils
cons public init()
meth public static java.lang.String concatenate(java.lang.String[])
meth public static java.lang.String doSub(java.lang.String,java.util.Map<java.lang.String,java.lang.String>)
meth public static java.lang.String escapePath(java.lang.String)
meth public static java.lang.String lineSeparator()
meth public static java.lang.String quote(java.lang.String)
meth public static java.lang.String sanitizeName(java.lang.String)
meth public static java.lang.String[] splitOptionsString(java.lang.String)
meth public static java.util.List<java.io.File> classPathToFileList(java.lang.String,java.io.File)
supr java.lang.Object
hfds pattern
CLSS public abstract interface org.xml.sax.ContentHandler
meth public abstract void characters(char[],int,int) throws org.xml.sax.SAXException
meth public abstract void endDocument() throws org.xml.sax.SAXException
meth public abstract void endElement(java.lang.String,java.lang.String,java.lang.String) throws org.xml.sax.SAXException
meth public abstract void endPrefixMapping(java.lang.String) throws org.xml.sax.SAXException
meth public abstract void ignorableWhitespace(char[],int,int) throws org.xml.sax.SAXException
meth public abstract void processingInstruction(java.lang.String,java.lang.String) throws org.xml.sax.SAXException
meth public abstract void setDocumentLocator(org.xml.sax.Locator)
meth public abstract void skippedEntity(java.lang.String) throws org.xml.sax.SAXException
meth public abstract void startDocument() throws org.xml.sax.SAXException
meth public abstract void startElement(java.lang.String,java.lang.String,java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public abstract void startPrefixMapping(java.lang.String,java.lang.String) throws org.xml.sax.SAXException
CLSS public abstract interface org.xml.sax.DTDHandler
meth public abstract void notationDecl(java.lang.String,java.lang.String,java.lang.String) throws org.xml.sax.SAXException
meth public abstract void unparsedEntityDecl(java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws org.xml.sax.SAXException
CLSS public abstract interface org.xml.sax.EntityResolver
meth public abstract org.xml.sax.InputSource resolveEntity(java.lang.String,java.lang.String) throws java.io.IOException,org.xml.sax.SAXException
CLSS public abstract interface org.xml.sax.ErrorHandler
meth public abstract void error(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
meth public abstract void fatalError(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
meth public abstract void warning(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
CLSS public org.xml.sax.helpers.DefaultHandler
cons public init()
intf org.xml.sax.ContentHandler
intf org.xml.sax.DTDHandler
intf org.xml.sax.EntityResolver
intf org.xml.sax.ErrorHandler
meth public org.xml.sax.InputSource resolveEntity(java.lang.String,java.lang.String) throws java.io.IOException,org.xml.sax.SAXException
meth public void characters(char[],int,int) throws org.xml.sax.SAXException
meth public void endDocument() throws org.xml.sax.SAXException
meth public void endElement(java.lang.String,java.lang.String,java.lang.String) throws org.xml.sax.SAXException
meth public void endPrefixMapping(java.lang.String) throws org.xml.sax.SAXException
meth public void error(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
meth public void fatalError(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
meth public void ignorableWhitespace(char[],int,int) throws org.xml.sax.SAXException
meth public void notationDecl(java.lang.String,java.lang.String,java.lang.String) throws org.xml.sax.SAXException
meth public void processingInstruction(java.lang.String,java.lang.String) throws org.xml.sax.SAXException
meth public void setDocumentLocator(org.xml.sax.Locator)
meth public void skippedEntity(java.lang.String) throws org.xml.sax.SAXException
meth public void startDocument() throws org.xml.sax.SAXException
meth public void startElement(java.lang.String,java.lang.String,java.lang.String,org.xml.sax.Attributes) throws org.xml.sax.SAXException
meth public void startPrefixMapping(java.lang.String,java.lang.String) throws org.xml.sax.SAXException
meth public void unparsedEntityDecl(java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws org.xml.sax.SAXException
meth public void warning(org.xml.sax.SAXParseException) throws org.xml.sax.SAXException
supr java.lang.Object
|
@ This file was created from a .asm file
@ using the ads2gas.pl script.
.equ DO1STROUNDING, 0
.equ ARCH_ARM , 1
.equ ARCH_MIPS , 0
.equ ARCH_X86 , 0
.equ ARCH_X86_64 , 0
.equ HAVE_NEON , 1
.equ HAVE_NEON_ASM , 0
.equ HAVE_MIPS32 , 0
.equ HAVE_DSPR2 , 0
.equ HAVE_MSA , 0
.equ HAVE_MIPS64 , 0
.equ HAVE_MMX , 0
.equ HAVE_SSE , 0
.equ HAVE_SSE2 , 0
.equ HAVE_SSE3 , 0
.equ HAVE_SSSE3 , 0
.equ HAVE_SSE4_1 , 0
.equ HAVE_AVX , 0
.equ HAVE_AVX2 , 0
.equ HAVE_VPX_PORTS , 1
.equ HAVE_PTHREAD_H , 1
.equ HAVE_UNISTD_H , 0
.equ CONFIG_DEPENDENCY_TRACKING , 1
.equ CONFIG_EXTERNAL_BUILD , 1
.equ CONFIG_INSTALL_DOCS , 0
.equ CONFIG_INSTALL_BINS , 1
.equ CONFIG_INSTALL_LIBS , 1
.equ CONFIG_INSTALL_SRCS , 0
.equ CONFIG_DEBUG , 0
.equ CONFIG_GPROF , 0
.equ CONFIG_GCOV , 0
.equ CONFIG_RVCT , 0
.equ CONFIG_GCC , 1
.equ CONFIG_MSVS , 0
.equ CONFIG_PIC , 0
.equ CONFIG_BIG_ENDIAN , 0
.equ CONFIG_CODEC_SRCS , 0
.equ CONFIG_DEBUG_LIBS , 0
.equ CONFIG_DEQUANT_TOKENS , 0
.equ CONFIG_DC_RECON , 0
.equ CONFIG_RUNTIME_CPU_DETECT , 0
.equ CONFIG_POSTPROC , 1
.equ CONFIG_VP9_POSTPROC , 1
.equ CONFIG_MULTITHREAD , 1
.equ CONFIG_INTERNAL_STATS , 0
.equ CONFIG_VP8_ENCODER , 1
.equ CONFIG_VP8_DECODER , 1
.equ CONFIG_VP9_ENCODER , 1
.equ CONFIG_VP9_DECODER , 1
.equ CONFIG_VP8 , 1
.equ CONFIG_VP9 , 1
.equ CONFIG_ENCODERS , 1
.equ CONFIG_DECODERS , 1
.equ CONFIG_STATIC_MSVCRT , 0
.equ CONFIG_SPATIAL_RESAMPLING , 1
.equ CONFIG_REALTIME_ONLY , 1
.equ CONFIG_ONTHEFLY_BITPACKING , 0
.equ CONFIG_ERROR_CONCEALMENT , 0
.equ CONFIG_SHARED , 0
.equ CONFIG_STATIC , 1
.equ CONFIG_SMALL , 0
.equ CONFIG_POSTPROC_VISUALIZER , 0
.equ CONFIG_OS_SUPPORT , 1
.equ CONFIG_UNIT_TESTS , 1
.equ CONFIG_WEBM_IO , 1
.equ CONFIG_LIBYUV , 1
.equ CONFIG_DECODE_PERF_TESTS , 0
.equ CONFIG_ENCODE_PERF_TESTS , 0
.equ CONFIG_MULTI_RES_ENCODING , 1
.equ CONFIG_TEMPORAL_DENOISING , 1
.equ CONFIG_VP9_TEMPORAL_DENOISING , 1
.equ CONFIG_COEFFICIENT_RANGE_CHECKING , 0
.equ CONFIG_VP9_HIGHBITDEPTH , 0
.equ CONFIG_BETTER_HW_COMPATIBILITY , 0
.equ CONFIG_EXPERIMENTAL , 0
.equ CONFIG_SIZE_LIMIT , 1
.equ CONFIG_SPATIAL_SVC , 0
.equ CONFIG_FP_MB_STATS , 0
.equ CONFIG_EMULATE_HARDWARE , 0
.equ CONFIG_MISC_FIXES , 0
.equ DECODE_WIDTH_LIMIT , 16384
.equ DECODE_HEIGHT_LIMIT , 16384
.section .note.GNU-stack,"",%progbits
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>《Activiti实战》示例第17章-登录系统</title>
<%@ include file="/common/global.jsp"%>
<%@ include file="/common/meta.jsp" %>
<%@ include file="/common/include-base-styles.jsp" %>
<style type="text/css">
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: #eee;
}
.form-signin {
max-width: 330px;
padding: 15px;
margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
margin-bottom: 10px;
}
.form-signin .checkbox {
font-weight: normal;
}
.form-signin .form-control {
position: relative;
height: auto;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 10px;
font-size: 16px;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-signin input[type="email"] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
</style>
<script src="${ctx }/js/common/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$('#username').focus();
});
</script>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-xs-6 col-xs-offset-4">
<h2>第17章—《集成JPA》配套示例</h2>
</div>
</div>
<div class="row">
<div class="col-xs-4 col-xs-offset-4">
<form action="${ctx }/user/logon" class="form-signin" role="form">
<input type="text" id="username" name="username" class="form-control" placeholder="用户名" required autofocus>
<input type="password" id="password" name="password" class="form-control" placeholder="密码" required>
<button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
</form>
</div>
</div>
<hr/>
<div class="row">
<div class="col-xs-6 col-xs-offset-4">
<p class="text-info">
如果按照书上的用户名、密码登录失败请用终端进入 <strong>chapter17-jpa</strong> 项目目录执行:
<br/><code>mvn antrun:run -Pinit-db</code>
</p>
</div>
<hr>
</div>
<div class="row">
<div class="col-xs-6 col-xs-offset-4">
<h4 class="text-info">用户与角色列表(密码:000000)</h4>
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>用户名</th>
<th>角色</th>
<th>部门</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>henry</td>
<td>系统管理员</td>
<th>IT部</th>
</tr>
<tr>
<td>2</td>
<td>bill</td>
<td>总经理</td>
<td>总经理室</td>
</tr>
<tr>
<td>3</td>
<td>jenny</td>
<td>人事经理</td>
<td>人事部</td>
</tr>
<tr class="success">
<td>4</td>
<td>kermit</td>
<td>部门经理</td>
<td>市场部</td>
</tr>
<tr class="success">
<td>5</td>
<td>eric</td>
<td>普通职员</td>
<td>市场部</td>
</tr>
<tr class="success">
<td>6</td>
<td>tom</td>
<td>普通职员</td>
<td>市场部</td>
</tr>
<tr class="info">
<td>7</td>
<td>andy</td>
<td>普通职员</td>
<td>业务部</td>
</tr>
<tr class="info">
<td>8</td>
<td>amy</td>
<td>普通职员</td>
<td>业务部</td>
</tr>
<tr class="danger">
<td>9</td>
<td>tony</td>
<td>财务人员</td>
<td>财务部</td>
</tr>
<tr class="danger">
<td>10</td>
<td>lily</td>
<td>出纳员</td>
<td>财务部</td>
</tr>
<tr>
<td>11</td>
<td>thomas</td>
<td>后勤人员</td>
<td>后勤部</td>
</tr>
</tbody>
</table>
</div>
<hr>
</div>
</div> <!-- /container -->
</body>
</html>
|
data {
int d_int;
int d_int_array[d_int];
real d_real_array[d_int];
matrix[d_int,d_int] d_matrix;
vector[d_int] d_vector;
row_vector[d_int] d_row_vector;
vector[2] x3y[3];
row_vector[2] x4y[3];
matrix[2,3] x5y[3];
int x1z[3,4];
real x2z[3,4];
vector[2] x3z[3,4];
row_vector[2] x4z[3,4];
matrix[2,3] x5z[3,4];
int x1w[3,4,5];
real x2w[3,4,5];
vector[2] x3w[3,4,5];
row_vector[2] x4w[3,4,5];
matrix[2,3] x5w[3,4,5];
}
transformed data {
matrix[d_int,d_int] transformed_data_matrix;
vector[d_int] transformed_data_vector;
row_vector[d_int] transformed_data_row_vector;
vector[2] trans_x3y[3];
row_vector[2] trans_x4y[3];
matrix[2,3] trans_x5y[3];
real trans_x2z[3,4];
vector[2] trans_x3z[3,4];
row_vector[2] trans_x4z[3,4];
matrix[2,3] trans_x5z[3,4];
real trans_x2w[3,4,5];
vector[2] trans_x3w[3,4,5];
row_vector[2] trans_x4w[3,4,5];
matrix[2,3] trans_x5w[3,4,5];
transformed_data_matrix <- square(d_matrix);
transformed_data_vector <- square(d_vector);
transformed_data_row_vector <- square(d_row_vector);
trans_x3y <- square(x3y);
trans_x4y <- square(x4y);
trans_x5y <- square(x5y);
trans_x2z <- square(x1z);
trans_x2z <- square(x2z);
trans_x3z <- square(x3z);
trans_x4z <- square(x4z);
trans_x5z <- square(x5z);
trans_x2w <- square(x1w);
trans_x2w <- square(x2w);
trans_x3w <- square(x3w);
trans_x4w <- square(x4w);
trans_x5w <- square(x5w);
}
parameters {
real p_real;
real y_p;
real p_real_array[d_int];
matrix[d_int,d_int] p_matrix;
vector[d_int] p_vector;
row_vector[d_int] p_row_vector;
vector[2] p_x3y[3];
row_vector[2] p_x4y[3];
matrix[2,3] p_x5y[3];
real p_x2z[3,4];
vector[2] p_x3z[3,4];
row_vector[2] p_x4z[3,4];
matrix[2,3] p_x5z[3,4];
real p_x2w[3,4,5];
vector[2] p_x3w[3,4,5];
row_vector[2] p_x4w[3,4,5];
matrix[2,3] p_x5w[3,4,5];
}
transformed parameters {
matrix[d_int,d_int] transformed_param_matrix;
vector[d_int] transformed_param_vector;
row_vector[d_int] transformed_param_row_vector;
vector[2] trans_p_x3y[3];
row_vector[2] trans_p_x4y[3];
matrix[2,3] trans_p_x5y[3];
real trans_p_x2z[3,4];
vector[2] trans_p_x3z[3,4];
row_vector[2] trans_p_x4z[3,4];
matrix[2,3] trans_p_x5z[3,4];
real trans_p_x2w[3,4,5];
vector[2] trans_p_x3w[3,4,5];
row_vector[2] trans_p_x4w[3,4,5];
matrix[2,3] trans_p_x5w[3,4,5];
transformed_param_matrix <- square(d_matrix);
transformed_param_vector <- square(d_vector);
transformed_param_row_vector <- square(d_row_vector);
transformed_param_matrix <- square(p_matrix);
transformed_param_vector <- square(p_vector);
transformed_param_row_vector <- square(p_row_vector);
trans_p_x3y <- square(p_x3y);
trans_p_x4y <- square(p_x4y);
trans_p_x5y <- square(p_x5y);
trans_p_x2z <- square(p_x2z);
trans_p_x3z <- square(p_x3z);
trans_p_x4z <- square(p_x4z);
trans_p_x5z <- square(p_x5z);
trans_p_x2w <- square(p_x2w);
trans_p_x3w <- square(p_x3w);
trans_p_x4w <- square(p_x4w);
trans_p_x5w <- square(p_x5w);
}
model {
y_p ~ normal(0,1);
}
|
spextra.Spextrum
================
.. currentmodule:: spextra
.. autoclass:: Spextrum
.. automethod:: __init__
.. rubric:: Methods
.. autosummary::
~Spextrum.__init__
~Spextrum.add_abs_lines
~Spextrum.add_emi_lines
~Spextrum.add_noise
~Spextrum.avgwave
~Spextrum.barlam
~Spextrum.black_body_spectrum
~Spextrum.cut
~Spextrum.deredden
~Spextrum.download_all
~Spextrum.dump
~Spextrum.flat_spectrum
~Spextrum.force_extrapolation
~Spextrum.from_arrays
~Spextrum.from_file
~Spextrum.from_spectrum1d
~Spextrum.from_specutils
~Spextrum.from_vega
~Spextrum.get_flux
~Spextrum.get_magnitude
~Spextrum.integrate
~Spextrum.logrebin
~Spextrum.normalize
~Spextrum.photons_in_range
~Spextrum.pivot
~Spextrum.plot
~Spextrum.powerlaw
~Spextrum.rebin_spectra
~Spextrum.redden
~Spextrum.redshift
~Spextrum.remove
~Spextrum.scale_to_magnitude
~Spextrum.smooth
~Spextrum.taper
~Spextrum.to_fits
~Spextrum.to_spectrum1d
~Spextrum.update
.. rubric:: Attributes
.. autosummary::
~Spextrum.model
~Spextrum.warnings
~Spextrum.waverange
~Spextrum.waveset
~Spextrum.z
~Spextrum.z_type
|
(ns girouette.tw.default-api
(:require
[girouette.tw.core :refer [make-api]]
[girouette.util :as util]
[girouette.tw.common :as common]
[girouette.tw.color :as color]
[girouette.tw.layout :as layout]
[girouette.tw.flexbox :as flexbox]
[girouette.tw.grid :as grid]
[girouette.tw.box-alignment :as box-alignment]
[girouette.tw.spacing :as spacing]
[girouette.tw.sizing :as sizing]
[girouette.tw.typography :as typography]
[girouette.tw.background :as background]
[girouette.tw.border :as border]
[girouette.tw.effect :as effect]
[girouette.tw.table :as table]
[girouette.tw.animation :as animation]
[girouette.tw.transform :as transform]
[girouette.tw.interactivity :as interactivity]
[girouette.tw.svg :as svg]
[girouette.tw.accessibility :as accessibility]))
(def default-components
(util/into-one-vector
[common/components
layout/components
flexbox/components
grid/components
box-alignment/components
spacing/components
sizing/components
typography/components
background/components
border/components
effect/components
table/components
animation/components
transform/components
interactivity/components
svg/components
accessibility/components]))
;; This is how to build the API using the default components.
;; For a customized experience of Girouette, create your own API in the same way, using altered components.
(let [{:keys [parser class-name->garden]} (make-api default-components {:color-map color/default-color-map})]
(def parser parser)
(def class-name->garden class-name->garden))
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x7eb9, %rsi
nop
nop
nop
nop
add $43262, %rdx
movw $0x6162, (%rsi)
nop
nop
sub $12629, %r9
lea addresses_normal_ht+0xa07f, %r9
nop
nop
nop
cmp $36730, %r14
mov (%r9), %r12d
nop
nop
dec %r14
lea addresses_UC_ht+0xb85f, %r14
nop
nop
nop
nop
nop
and %r11, %r11
mov (%r14), %r13
nop
nop
nop
nop
nop
and $15340, %r11
lea addresses_D_ht+0xbcef, %rsi
lea addresses_A_ht+0xde1f, %rdi
nop
nop
nop
nop
nop
xor %r9, %r9
mov $100, %rcx
rep movsl
nop
nop
nop
dec %r13
lea addresses_D_ht+0x1285f, %r9
nop
sub %r14, %r14
vmovups (%r9), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %rcx
nop
nop
nop
nop
sub $44534, %rcx
lea addresses_A_ht+0x1b77f, %rsi
lea addresses_WT_ht+0x2c5f, %rdi
clflush (%rdi)
nop
dec %r13
mov $57, %rcx
rep movsb
nop
nop
inc %rsi
lea addresses_normal_ht+0x68df, %rsi
lea addresses_A_ht+0x1682f, %rdi
nop
nop
dec %r14
mov $27, %rcx
rep movsw
add $54940, %r14
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r9
pop %r14
pop %r13
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %r15
push %rbx
push %rdi
push %rsi
// Store
lea addresses_D+0x563a, %rsi
nop
nop
cmp $2280, %rdi
mov $0x5152535455565758, %r11
movq %r11, %xmm1
vmovups %ymm1, (%rsi)
nop
nop
cmp %r14, %r14
// Store
lea addresses_UC+0x5f, %r11
nop
nop
nop
nop
nop
cmp $29156, %r12
movw $0x5152, (%r11)
nop
nop
nop
nop
nop
sub %rbx, %rbx
// Store
mov $0x1349330000000e3f, %rbx
nop
nop
nop
nop
and %r15, %r15
movw $0x5152, (%rbx)
nop
nop
nop
nop
sub %r12, %r12
// Faulty Load
lea addresses_A+0xe85f, %rbx
nop
cmp %rsi, %rsi
mov (%rbx), %r12
lea oracles, %r11
and $0xff, %r12
shlq $12, %r12
mov (%r11,%r12,1), %r12
pop %rsi
pop %rdi
pop %rbx
pop %r15
pop %r14
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_A', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_D', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC', 'same': False, 'size': 2, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_NC', 'same': False, 'size': 2, 'congruent': 4, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_A', 'same': True, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 4, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 8, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 6, 'same': True}, 'OP': 'REPM'}
{'src': {'type': 'addresses_D_ht', 'same': False, 'size': 32, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'congruent': 5, 'same': True}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM'}
{'00': 159}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
library verilog;
use verilog.vl_types.all;
entity forwarding_unit is
port(
ex_mem_out_regfile_write: in vl_logic;
mem_wb_out_regfile_write: in vl_logic;
mem_load_inst : in vl_logic;
mem_str_inst : in vl_logic;
uses_sr1 : in vl_logic;
uses_sr2 : in vl_logic;
uses_sr1_mem : in vl_logic;
uses_sr2_mem : in vl_logic;
id_ex_in_uses_sr1: in vl_logic;
id_ex_in_uses_sr2: in vl_logic;
ex_mem_out_dest : in vl_logic_vector(2 downto 0);
id_ex_out_sr1 : in vl_logic_vector(2 downto 0);
id_ex_out_sr2 : in vl_logic_vector(2 downto 0);
id_ex_in_src1 : in vl_logic_vector(2 downto 0);
id_ex_in_src2 : in vl_logic_vector(2 downto 0);
mem_wb_out_dest : in vl_logic_vector(2 downto 0);
mem_wb_out_src1 : in vl_logic_vector(2 downto 0);
mem_wb_out_src2 : in vl_logic_vector(2 downto 0);
ex_mem_out_sr1 : in vl_logic_vector(2 downto 0);
ex_mem_out_sr2 : in vl_logic_vector(2 downto 0);
id_ex_in_dest : in vl_logic_vector(2 downto 0);
ex_forward_a : out vl_logic_vector(1 downto 0);
ex_forward_b : out vl_logic_vector(1 downto 0);
id_forward_a : out vl_logic_vector(1 downto 0);
id_forward_b : out vl_logic_vector(1 downto 0);
mem_forward_a : out vl_logic;
mem_forward_b : out vl_logic
);
end forwarding_unit;
|
{-# OPTIONS --without-K --safe #-}
module Categories.Functor.Construction.LiftSetoids where
open import Level
open import Relation.Binary
open import Function.Equality
open import Function using (_$_) renaming (id to idf)
open import Categories.Category
open import Categories.Category.Instance.Setoids
open import Categories.Functor
private
variable
c ℓ : Level
-- Use pattern-matching (instead of explicit calls to lower) to minimize the
-- number of needed parens, and also make it syntactically apparent that
-- this is indeed just a Lift.
LiftedSetoid : ∀ c′ ℓ′ → Setoid c ℓ → Setoid (c ⊔ c′) (ℓ ⊔ ℓ′)
LiftedSetoid c′ ℓ′ S = record
{ Carrier = Lift c′ Carrier
; _≈_ = λ where (lift x) (lift y) → Lift ℓ′ $ x ≈ y
; isEquivalence = record
{ refl = lift refl
; sym = λ where (lift eq) → lift $ sym eq
; trans = λ where (lift eq) (lift eq′) → lift $ trans eq eq′
}
}
where open Setoid S
LiftSetoids : ∀ c′ ℓ′ → Functor (Setoids c ℓ) (Setoids (c ⊔ c′) (ℓ ⊔ ℓ′))
LiftSetoids c′ ℓ′ = record
{ F₀ = LiftedSetoid c′ ℓ′
; F₁ = λ f → record
{ _⟨$⟩_ = λ where (lift x) → lift $ f ⟨$⟩ x
; cong = λ where (lift eq) → lift $ cong f eq
}
; identity = idf
; homomorphism = λ where {f = f} {g = g} (lift eq) → lift $ cong g $ cong f eq
; F-resp-≈ = λ where fx≈gy (lift x≈y) → lift $ fx≈gy x≈y
}
|
PREFIX : <http://example.org/ns#>
SELECT ?v
WHERE { [] :num ?v }
ORDER BY ?v
LIMIT 2
OFFSET 2 |
nSamples,24
nParams,17
0.0148737
0.15833
0.143693
0.172502
0.00621102
0.128252
0.105296
0.115204
0.0511985
0.0451729
0.113495
0.0514725
0.00110266
0.00121515
0.000694523
0.000659438
0.000653352
0.0229933
0.178424
0.100374
0.160346
0.0112398
0.0814452
0.0827476
0.11773
0.0297687
0.0356379
0.125837
0.00757601
0.0011305
0.000705438
0.000638463
0.00135982
0.000883717
0.0650711
0.146001
0.123995
0.194123
0.0695288
0.111027
0.143437
0.104619
0.0657421
0.0520471
0.108009
0.0424851
0.000978813
0.000426512
0.00138792
0.00077293
0.000790575
0.0538542
0.167255
0.0959778
0.171375
0.0603741
0.0872216
0.138934
0.1214
0.0566341
0.0396385
0.141632
0.0449189
0.00049554
0.000650766
0.000844823
0.00129615
0.000930236
0.0254608
0.174586
0.112733
0.190505
0.0398249
0.117623
0.127635
0.0805388
0.0368133
0.0368503
0.0954643
0.0063372
0.000542702
0.000917879
0.000419219
0.000568606
0.00120973
0.0356014
0.156489
0.106486
0.168296
0.0269646
0.0920396
0.116638
0.127706
0.0210939
0.0245729
0.132253
0.0542309
0.00066203
0.000512526
0.00103296
0.00143874
0.000508671
0.0201374
0.176715
0.141546
0.161932
0.0217728
0.0751559
0.104232
0.073457
0.0456516
0.0500786
0.11592
0.0135974
0.000463496
0.00119407
0.00123148
0.000905192
0.00101294
0.0431534
0.153324
0.132793
0.164691
0.0350512
0.123531
0.101433
0.10226
0.0266121
0.0151271
0.106918
0.0327519
0.00123772
0.0010498
0.000926738
0.00112781
0.00126701
0.00926557
0.169367
0.110833
0.166673
0.00887468
0.106825
0.111209
0.0778933
0.0323897
0.033451
0.11816
0.0302781
0.0013667
0.000745513
0.000808943
0.00147048
0.00125486
0.029014
0.154772
0.119718
0.151014
0.0155317
0.0710158
0.089649
0.134202
0.0123455
0.0123805
0.0990432
0.0277643
0.000596429
0.000864588
0.00116383
0.000800247
0.000842994
0.0693289
0.187226
0.0847909
0.180033
0.0415627
0.102262
0.119357
0.12962
0.0401015
0.0208447
0.136488
0.0380927
0.000373028
0.000618175
0.00145082
0.000942112
0.00060211
0.0329201
0.162557
0.0870566
0.146541
0.0633923
0.0892897
0.0985807
0.0878323
0.00868993
0.0413236
0.0966438
0.0436111
0.00129385
0.00146497
0.00146296
0.00106624
0.00139839
0.0483751
0.181286
0.10931
0.181045
0.0179106
0.112403
0.0872089
0.0976999
0.0449964
0.0543845
0.0834593
0.0470663
0.00140925
0.00101195
0.00116857
0.00134372
0.000771192
0.0415451
0.186433
0.0801536
0.184565
0.0190543
0.120563
0.131378
0.0748315
0.0674065
0.0467924
0.0901524
0.0169651
0.000832414
0.000481264
0.00108403
0.00109389
0.0013309
0.0512836
0.173903
0.117872
0.147142
0.0330315
0.129722
0.125128
0.0707389
0.053907
0.0279448
0.0926861
0.0503083
0.000929816
0.00130478
0.000475659
0.00117109
0.0007236
0.0162083
0.170231
0.102225
0.152875
0.0661702
0.077441
0.134169
0.125254
0.0169049
0.0188976
0.0867151
0.0186629
0.00148242
0.0010883
0.000990202
0.00122225
0.000379425
0.0462471
0.159709
0.0932316
0.192093
0.0300617
0.133202
0.133455
0.0920123
0.0222959
0.00796103
0.143431
0.0123829
0.000753756
0.0013754
0.000350242
0.000352561
0.00103759
0.0629105
0.164064
0.135584
0.174963
0.0438961
0.0847017
0.0802305
0.114554
0.0402723
0.0432815
0.0802414
0.0108148
0.00116634
0.00134666
0.00132091
0.00049536
0.000410029
0.0311626
0.150065
0.0984974
0.176271
0.0582773
0.0947824
0.122465
0.0954916
0.0287223
0.0277341
0.129122
0.0348614
0.000730434
0.000381133
0.000898846
0.000454409
0.00115449
0.0394729
0.192676
0.137487
0.188037
0.0509737
0.103136
0.108244
0.0654913
0.00515513
0.030322
0.120901
0.039961
0.00131441
0.000582857
0.000762921
0.00041601
0.000473412
0.00634062
0.182784
0.128944
0.186178
0.0532968
0.0704938
0.0919877
0.109407
0.0505643
0.0168981
0.102719
0.0223298
0.000785547
0.000948103
0.00126391
0.000973805
0.000555124
0.0599906
0.189883
0.126284
0.157077
0.0469441
0.116183
0.141583
0.108393
0.0600743
0.00666032
0.110645
0.0294011
0.00088501
0.00141423
0.000615357
0.00085344
0.00148336
0.0114318
0.194822
0.123207
0.158708
0.0244319
0.0658478
0.0936848
0.0890516
0.0155336
0.0109077
0.127009
0.025121
0.00104271
0.00113649
0.000577361
0.000591856
0.00108132
0.05748
0.147686
0.0882338
0.153793
0.0562251
0.0991461
0.113207
0.0851917
0.0632309
0.022618
0.137185
0.020899
0.00042804
0.000805237
0.000516593
0.000731916
0.00144551
|
var noop = function () {};
set_global('$', global.make_zjquery());
set_global('page_params', {
use_websockets: true,
});
set_global('channel', {});
set_global('navigator', {});
set_global('reload', {});
set_global('socket', {});
set_global('Socket', function () {
return global.socket;
});
set_global('sent_messages', {
start_tracking_message: noop,
report_server_ack: noop,
});
zrequire('transmit');
function test_with_mock_socket(test_params) {
var socket_send_called;
var send_args = {};
global.socket.send = function (request, success, error) {
global.socket.send = undefined;
socket_send_called = true;
// Save off args for check_send_args callback.
send_args.request = request;
send_args.success = success;
send_args.error = error;
};
// Run the actual code here.
test_params.run_code();
assert(socket_send_called);
test_params.check_send_args(send_args);
}
(function test_transmit_message_sockets() {
page_params.use_websockets = true;
global.navigator.userAgent = 'unittest_transmit_message';
// Our request is mostly unimportant, except that the
// socket_user_agent field will be added.
var request = {foo: 'bar'};
var success_func_checked = false;
var success = function () {
success_func_checked = true;
};
// Our error function gets wrapped, so we set up a real
// function to test the wrapping mechanism.
var error_func_checked = false;
var error = function (error_msg) {
assert.equal(error_msg, 'Error sending message: simulated_error');
error_func_checked = true;
};
test_with_mock_socket({
run_code: function () {
transmit.send_message(request, success, error);
},
check_send_args: function (send_args) {
// The real code patches new data on the request, rather
// than making a copy, so we test both that it didn't
// clone the object and that it did add a field.
assert.equal(send_args.request, request);
assert.deepEqual(send_args.request, {
foo: 'bar',
socket_user_agent: 'unittest_transmit_message',
});
send_args.success({});
assert(success_func_checked);
// Our error function does get wrapped, so we test by
// using socket.send's error callback, which should
// invoke our test error function via a wrapper
// function in the real code.
send_args.error('response', {msg: 'simulated_error'});
assert(error_func_checked);
},
});
}());
page_params.use_websockets = false;
(function test_transmit_message_ajax() {
var success_func_called;
var success = function () {
success_func_called = true;
};
var request = {foo: 'bar'};
channel.post = function (opts) {
assert.equal(opts.url, '/json/messages');
assert.equal(opts.data.foo, 'bar');
opts.success();
};
transmit.send_message(request, success);
assert(success_func_called);
channel.xhr_error_message = function (msg) {
assert.equal(msg, 'Error sending message');
return msg;
};
channel.post = function (opts) {
assert.equal(opts.url, '/json/messages');
assert.equal(opts.data.foo, 'bar');
var xhr = 'whatever';
opts.error(xhr, 'timeout');
};
var error_func_called;
var error = function (response) {
assert.equal(response, 'Error sending message');
error_func_called = true;
};
transmit.send_message(request, success, error);
assert(error_func_called);
}());
(function test_transmit_message_ajax_reload_pending() {
var success = function () { throw 'unexpected success'; };
reload.is_pending = function () {
return true;
};
var reload_initiated;
reload.initiate = function (opts) {
reload_initiated = true;
assert.deepEqual(opts, {
immediate: true,
save_pointer: true,
save_narrow: true,
save_compose: true,
send_after_reload: true,
});
};
var request = {foo: 'bar'};
var error_func_called;
var error = function (response) {
assert.equal(response, 'Error sending message');
error_func_called = true;
};
error_func_called = false;
channel.post = function (opts) {
assert.equal(opts.url, '/json/messages');
assert.equal(opts.data.foo, 'bar');
var xhr = 'whatever';
opts.error(xhr, 'bad request');
};
transmit.send_message(request, success, error);
assert(!error_func_called);
assert(reload_initiated);
}());
|
signature DFA_Codegen =
sig
type dfa =
{name : string,
src_regexp : string,
finals : bool list,
table : int list list}
val Ada : dfa -> TextIO.outstream -> unit
val C : dfa -> TextIO.outstream -> unit
val SML : dfa -> TextIO.outstream -> unit
val Java : dfa -> TextIO.outstream -> unit
end
|
/*
Author: W3layout
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
*/
h4, h5, h6,
h1, h2, h3 {margin: 0;}
ul, ol {margin: 0;padding: 0;}
p {margin: 0;}
html, body{
font-size: 100%;
background:#F3F3F4;
overflow-x: hidden;
}
#check_ar:checked + #ar {
display: block !important;
}
#flash-message {
bottom: 20px;
position: absolute;
right: 20px;
z-index: 10;
animation: flash-message 5s forwards;
}
@keyframes flash-message {
0% {opacity: 1;}
100% {opacity: 0; display:none;}
}
body a{
transition:0.5s all;
-webkit-transition:0.5s all;
-moz-transition:0.5s all;
-o-transition:0.5s all;
-ms-transition:0.5s all;
}
div#wrapper {
background-color: #fff;
}
/*-- header --*/
.navbar .navbar-nav li a {
padding: 0 10px;
line-height: 56px;
position: relative;
}
.nav>li>a:focus, .nav>li>a:hover,.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
background:none !important;
}
.navbar .navbar-nav li a i {
border: 1px solid #fff;
padding: 8px 0;
width: 32px;
text-align: center;
-webkit-border-radius: 50em;
-moz-border-radius: 50em;
border-radius: 50em;
color: #fff;
height: 32px;
}
.navbar .navbar-nav li .dropdown-menu {
margin-top: 3px;
border: none;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
border: 1px solid #e1e6ef;
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.125);
-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.125);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.125);
padding: 0;
}
.navbar .navbar-nav li .dropdown-menu:before {
position: absolute;
top: -9.5px;
right: 16px;
display: inline-block;
border-right: 8px solid transparent;
border-bottom: 8px solid #e1e6ef;
border-left: 8px solid transparent;
content: '';
}
.navbar .navbar-nav li .dropdown-menu li.dropdown-menu-header, .navbar .navbar-nav li .dropdown-menu li.dropdown-menu-footer {
background:#f2f4f8;
}
.navbar .navbar-nav li.m_2 a {
line-height:38px;
}
.navbar .navbar-nav li .dropdown-menu li a i {
margin: 0 10px 0 -5px;
border: none;
}
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
background-color: #f2f4f8 !important;
}
.navbar .navbar-nav li .dropdown-menu li a .label {
position: absolute;
right: 10px;
top: 11px;
}
.label.label-info {
background-color:#ef553a;
}
.label {
padding: 4px 6px;
border: none;
text-shadow: none;
}
.but_list, .tab-content{
margin:1.5em 0 0 0;
}
.navbar .navbar-nav li .dropdown-toggle.avatar img {
height: 40px;
-webkit-border-radius: 50em;
-moz-border-radius: 50em;
border-radius: 50em;
border: 1px solid #c0cadd;
margin-top: -4px;
}
.navbar .navbar-nav li .dropdown-menu li a i {
margin: 0 10px 0 -5px;
border: none;
color:rgb(6, 217, 149);
}
.navbar .navbar-nav li .dropdown-menu li.dropdown-menu-header .progress, .navbar .navbar-nav li .dropdown-menu li.dropdown-menu-footer .progress {
border: 1px solid #e1e6ef;
background: white;
box-shadow: none;
}
.progress.thin {
height: 10px;
}
.progress {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
background: #f2f4f8;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
}
.navbar .navbar-nav li .dropdown-menu li.avatar {
min-width: 300px;
height: 56px;
padding: 0px 15px;
}
.navbar .navbar-nav li .dropdown-menu li {
padding: 0;
position: relative;
min-width:100%;
border-bottom: 1px solid #e1e6ef;
line-height: 40px;
padding: 0 15px;
font-size: 14px;
width:300px;
}
.navbar .navbar-nav li .dropdown-menu li.avatar a {
line-height: 59px;
height: 59px;
padding: 9px 15px;
}
.navbar .navbar-nav li .dropdown-menu li a {
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
line-height: 40px;
height: 40px;
margin: 0 -15px;
padding: 0 15px;
}
.navbar .navbar-nav li .dropdown-menu li a img {
height: 40px;
-webkit-border-radius: 50em;
-moz-border-radius: 50em;
border-radius: 50em;
border: 1px solid #e1e6ef;
margin: 0px 10px 0 -5px;
float: left;
}
.navbar .navbar-nav li .dropdown-menu li a div {
font-size: 14px;
line-height: 26px;
font-weight: bold;
color: #000;
}
.navbar .navbar-nav li .dropdown-menu li a small {
display: block;
line-height: 12px;
font-size: 10px;
margin-top: -3px;
font-style: italic;
}
.small, small {
color: #CFCFCF !important;
font-weight: 300 !important;
}
.navbar .navbar-nav li .dropdown-menu li.avatar a .label {
top: 20px;
}
.navbar .navbar-nav li a .badge {
background: #ff5454;
border: 2px solid white;
position: absolute;
top: 9px;
right: 3px;
font-size: 8px;
line-height: 8px;
padding: 4px 6px;
-webkit-border-radius: 50em;
-moz-border-radius: 50em;
border-radius: 50em;
min-width: 0;
}
.navbar-default.sidebar {
background-color: #fff;
}
nav.top1.navbar.navbar-default.navbar-static-top {
background-color:rgb(6, 217, 149);
}
h1 a.navbar-brand {
color: #fff !important;
font-size: 30px;
font-weight: 500;
padding: 20px 0px;
background: #d95459;
text-align: center;
width:248px;
height: 60px;
}
.navbar-default .navbar-brand:hover {
color: #fff;
background-color: #d95459;
}
.navbar-right {
margin-right: 10px !important;
}
.navbar-right li{
display:inline-block;
}
i.nav_icon {
color: #fff;
margin-right:6px;
}
.sidebar ul li a{
color: #999;
font-size:14px;
}
ul.nav.navbar-nav.navbar-right {
height: 51px;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
background-color:rgba(231, 231, 231, 0) !important;
}
/*----*/
/* Sweep To Bottom */
/* Bounce To Right */
.hvr-bounce-to-right {
display: inline-block;
vertical-align: middle;
-webkit-transform: translateZ(0);
transform: translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
position: relative;
-webkit-transition-property: color;
transition-property: color;
-webkit-transition-duration: 0.5s;
transition-duration: 0.5s;
}
.hvr-bounce-to-right:before {
content: "";
position: absolute;
z-index: -1;
top: 0;
left: 0;
right: 80%;
bottom: 0;
background:#7f8c8d;
-webkit-transform: scaleX(0);
transform: scaleX(0);
-webkit-transform-origin: 0 50%;
transform-origin: 0 50%;
-webkit-transition-property: transform;
transition-property: transform;
-webkit-transition-duration: 0.5s;
transition-duration: 0.5s;
-webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out;
}
.hvr-bounce-to-right:hover, .hvr-bounce-to-right:focus, .hvr-bounce-to-right:active {
}
.hvr-bounce-to-right:hover:before, .hvr-bounce-to-right:focus:before, .hvr-bounce-to-right:active:before {
-webkit-transform: scaleX(1);
transform: scaleX(1);
-webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
}
/*----*/
.nav > li > a {
color: #999;
font-weight:500;
padding: 0px 20px 0px 0px;
font-size: 0.85em;
border-bottom: 1px solid #E9E9E9;
}
.hvr-bounce-to-right:hover i.nav_icon ,
.hvr-bounce-to-right:focus i.nav_icon,
.hvr-bounce-to-right:active i.nav_icon{
color:#fff;
}
.nav > li > a i {
margin-right: 14px;
}
i.nav_icon {
color: #999;
padding: 15px;
width: 44px;
height: 44px;
}
span.fa.arrow {
margin-top: 17px;
}
/**---*/
@media (min-width: 768px) {
#page-wrapper {
position: inherit;
margin: 0 0 0 240px;
min-height: 1000px;
}
}
/*-- drop_emnu --*/
a.dropdown-toggle.dropdown-at {
border-bottom: none;
}
.content-main {
background-color: #F3F3F4;
padding-top: 1em;
}
.navbar-right-left{
float: right;
}
.navbar-toolbar{
}
.full-top{
float:left;
}
.navbar-left-right{
float: left;
margin-left: 6%;
}
.border-bottom {
background-color: #fff;
}
.full-left {
float: left;
width: 40%;
margin-left: 3%;
margin-top: 1.3em;
}
.full-left button{
background: none;
border: none;
outline: none;
color: #B3AEAE;
font-size: 0.9em;
}
nav.navbar.navbar-static-top {
float: right;
}
.navbar-left-right input[type="text"]{
background: none;
border: none;
outline: none;
color:#B3AEAE;
font-size: 0.9em;
}
.navbar-left-right input[type="submit"]{
background: url(../images/search.png) 0px 2px no-repeat;
width:16px;
height:16px;
border: none;
outline: none;
color:#B3AEAE;
font-size: 0.9em;
}
.drop-men {
float: right;
}
.dropdown-at {
padding: 0 !important;
position: relative;
color: #999;
font-size: 0.9em;
text-decoration: none ;
}
.dropdown-at:hover,.dropdown-at:focus {
text-decoration: none ;
}
.dropdown-at img{
margin: 0 0em 0 1em;
}
i.fa.fa-globe {
font-size: 1.8em;
color: #999;
}
.dropdown, .dropup {
display: inline-block;
padding:0;
}
.at-drop {
padding:0 1em ;
}
.number{
position: absolute;
top: -10px;
background-color: #EB0000;
color: #fff;
border-radius: 100px;
width: 13px;
height: 13px;
font-size: 11px;
line-height: 1.2em;
right: -6px;
text-align: center;
}
.user-new{
float: left;
}
.user-new p{
color:#000;
font-size: 1em;
}
.user-new span{
color:#B1B0B0;
font-size: 0.8em;
}
.user-new-left {
float: right;
}
.user-new-left i.fa-user-plus,.user-new-left i.fa-heart,.user-new-left i.fa-times,.user-new-left i.fa-info,.user-new-left i.fa-rss{
font-size: 12px;
color: #fff;
background-color: #3BB2D0;
border-radius: 4px;
width: 22px;
height: 18px;
text-align: center;
line-height: 1.5em;
}
.user-new-left i.fa-heart{
background-color: #1ABC9C;
}
.user-new-left i.fa-times{
background-color: #8a8acb;
}
.user-new-left i.fa-info{
background-color:#FBB03B;
}
.user-new-left i.fa-rss{
background-color: #ED6498;
}
.dropdown-menu {
min-width: 160px;
left:-2em;
}
.menu1{
top:172%;
left: -11em;
min-width: 325px;
padding:0;
}
.dropdown-menu {
padding: 0px 0;
}
.dropdown-menu li a i{
color: #B3AEAE;
font-size: 14px;
margin-right: 6%;
}
.dropdown-menu li a {
padding: 9px 20px;
color:#999;
}
.dropdown-menu li {
border-bottom: 1px solid #F7F7F7 ;
}
.dropdown-menu li:last-child {
border-bottom: none;
}
.nav>li>a:focus, .nav>li>a:hover {
background: none;
}
.view{
text-align: center;
}
.dropdown-menu>li>a.view:focus, .dropdown-menu>li>a.view:hover{
background: none;
color: #d95459;
}
.dropdown-menu {
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
margin:0;
}
/*----*/
.banner {
background: #fff;
display: block;
margin: 0em 1em ;
padding:1em;
border: 1px solid #ebeff6;
border-color: #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.banner h2{
font-size:0.9em;
}
.banner h2 a {
color:#D95459;
text-decoration:none;
padding:0.3em;
font-weight:400
}
.banner h2 span{
color:#000;
font-weight:300;
padding:0.3em ;
}
.banner h2 i{
color:#000;
vertical-align:middle;
padding:0.3em ;
}
/*--content--*/
.content-top-1 {
background-color: #fff;
padding: 1.8em;
margin-bottom: 1em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.content-top-1:last-child {
margin-bottom: 0em;
}
.content-graph {
background-color: #fff;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.content-top-2 {
padding-left: 0;
position:relative;
}
.content-color {
position: absolute;
top: 3%;
right: 6%;
border:1px solid #F3F3F4;
padding:1em;
width:150px;
}
.content-ch,.content-ch1 {
font-size:0.8em;
color:#999;
}
.content-ch p,.content-ch1 p{
float:left;
}
.content-ch i{
width:10px;
height:10px;
border:2px solid #999;
display: inline-block;
margin-right:5px;
}
.content-ch1 i{
width:10px;
height:10px;
border:2px solid #FBB03B;
background:#FBB03B;
display: inline-block;
margin-right:5px;
}
.content-ch span,.content-ch1 span{
float:right;
}
.top-content h5 {
font-size: 1.3em;
color: #B3AEAE;
}
.top-content label {
font-size: 2.3em;
color: #000;
}
/*--pie-chart---*/
.pie-title-center {
display: inline-block;
position: relative;
text-align: center;
}
.pie-value {
display: block;
position: absolute;
font-size: 14px;
height: 40px;
top: 50%;
left: 0;
right: 0;
margin-top: -20px;
line-height: 40px;
}
/*----*/
/*-----*/
.mid-content-top{
padding-left: 0;
}
.middle-content{
background: #fff;
padding:2.15em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.middle-content h3{
font-size: 1.5em;
color:#000;
margin-bottom: 1em;
}
/*----*/
.weather {
background-color: #fff;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.weather-top {
padding: 1.5em;
}
.weather-top-left {
float: left;
}
.weather-top-right {
float: right;
margin-top: 1.4em;
}
.degree figure{
float:left;
}
.degree span{
float:left;
font-size: 3em;
color: #000;
margin-left: 0.5em;
}
.weather-top-left p{
color: #1ABC9C;
padding: 0.3em 0.5em 0;
display: inline-block;
line-height: 13px;
font-size: 1em;
}
.weather-top-right p{
color:#999;
font-size: 1em;
}
.weather-top-right p i{
margin-right: 0.3em;
}
.weather-top-right label{
color:#000;
font-size: 0.8em;
font-weight:400;
}
.weather-head figure{
padding:0.6em 0;
}
/*----*/
/*----*/
.weather-bottom {
border-top:1px solid #ddd;
}
.weather-bottom1 {
float: left;
width: 25%;
}
.weather-head {
padding: 2em 1em;
text-align: center;
}
.weather-bottom1:nth-child(3) {
border-right: none;
}
.weather-head h4{
color:#7F8C8D;
font-size: 1em;
}
.weather-head h6{
color:#7F8C8D;
font-size: 1.5em;
font-weight: bold;
text-align: center;
margin-bottom: 1em;
}
.weather-head canvas {
display: block;
margin: 0 auto;
}
.bottom-head p{
font-size: 1em;
line-height: 1.4em;
}
/*----*/
.post-top{
padding-right:0;
}
.post{
background: #fff;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
margin-bottom: 1em;
}
.text-area textarea{
width: 100%;
border: none;
color: #999;
font-size: 1em;
outline: none;
padding: 1em;
background: none;
}
.post-at{
background: #FAFAFA;
border-top: 1px solid #ddd;
padding: 0.5em;
border-bottom-left-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-o-border-bottom-left-radius: 4px;
-ms-border-bottom-left-radius: 4px;
-moz-border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-o-border-bottom-right-radius: 4px;
-ms-border-bottom-right-radius: 4px;
-moz-border-bottom-right-radius: 4px;
}
.icon {
float: left;
margin-top: 10px;
}
.post-file {
position: relative;
overflow: hidden;
display: inline-block;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
margin: 0 5px;
}
.post-file input[type=file] {
position: absolute;
top: 0;
right: 0;
min-width: 100%;
min-height: 100%;
text-align: right;
opacity: 0;
background: 0 0;
cursor: inherit;
display: block;
}
/*---*/
.text-sub{
float: right;
}
.text-sub input[type="submit"]{
background-color: #D95459;
font-size: 1em;
color: #fff;
border: none;
outline: none;
padding: 0.5em 1.5em;
border-radius: 4px;
}
.text-sub input[type="submit"]:hover {
background-color: #FBB03B;
}
.post-bottom-1 {
float: left;
width: 48.5%;
background: #fff;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
margin-right: 3%;
}
.post-bottom-2 {
float: right;
width: 48.5%;
background: #fff;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
/*i.fa.fa-facebook {*/
/*background-color: #4962C0;*/
/*color: #fff;*/
/*font-size: 5.5em;*/
/*width: 100%;*/
/*text-align: center;*/
/*height: 173px;*/
/*line-height: 2em;*/
/*border-top-left-radius: 4px;*/
/*-webkit-border-top-left-radius: 4px;*/
/*-o-border-top-left-radius: 4px;*/
/*-ms-border-top-left-radius: 4px;*/
/*-moz-border-top-left-radius: 4px;*/
/*border-top-right-radius: 4px;*/
/*-webkit-border-top-right-radius: 4px;*/
/*-o-border-top-right-radius: 4px;*/
/*-ms-border-top-right-radius: 4px;*/
/*-moz-border-top-right-radius: 4px;*/
/*}*/
/*i.fa.fa-twitter {*/
/*background-color: #55acee;*/
/*color: #fff;*/
/*font-size: 5.5em;*/
/*width: 100%;*/
/*text-align: center;*/
/*height: 173px;*/
/*line-height: 2em;*/
/*border-top-left-radius: 4px;*/
/*-webkit-border-top-left-radius: 4px;*/
/*-o-border-top-left-radius: 4px;*/
/*-ms-border-top-left-radius: 4px;*/
/*-moz-border-top-left-radius: 4px;*/
/*border-top-right-radius: 4px;*/
/*-webkit-border-top-right-radius: 4px;*/
/*-o-border-top-right-radius: 4px;*/
/*-ms-border-top-right-radius: 4px;*/
/*-moz-border-top-right-radius: 4px;*/
/*}*/
.post-bottom-1 p,.post-bottom-2 p{
color: #7F8C8D;
font-size: 1.1em;
text-align: center;
padding: 1em;
}
.post-bottom-1 p label,.post-bottom-2 p label{
color: #000;
}
.content-bottom {
padding: 1em 0;
}
/*--gallery--*/
.gallery {
padding: 1em;
min-height: 850px;
}
.col-md {
float: left;
width: 19%;
margin-right: 1%;
margin-bottom: 1%;
}
.text-gallery {
background: #fff;
padding: 1em;
border: none;
border-bottom: 1px solid transparent;
border-color: #ebeff6;
border-radius: 0px;
border-bottom-left-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-o-border-bottom-left-radius: 4px;
-moz-border-bottom-left-radius: 4px;
-ms-border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-o-border-bottom-right-radius: 4px;
-moz-border-bottom-right-radius: 4px;
-ms-border-bottom-right-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.text-gallery h6{
font-size:1.1em;
color:#999;
}
.col-md:nth-child(5),.col-md:nth-child(10) {
margin-right: 0%;
}
.gallery-img{
position: relative;
}
.zoom-icon {
position:absolute;
top:0px;
right:0px;
bottom:0px;
left:0px;
display:block !important;
opacity:1 !important;
visibility:visible !important;
background:transparent !important;
border-radius:0;
cursor:pointer;
overflow:hidden;
-webkit-transition:0.55s;
-moz-transition:0.55s;
-o-transition:0.55s;
transition:0.55s;
}
.zoom-icon:after {
position:absolute;
display:block;
top:50%;
left:50%;
top:50%;
bottom:50%;
width:0;
height:0;
content:"";
background:url(../images/link.png) 50% 50% no-repeat;
border-radius:0;
z-index:0;
-webkit-transition:0.45s;
-moz-transition:0.45s;
-o-transition:0.45s;
transition:0.45s;
}
.zoom-icon:before {
position:absolute;
left:-50%;
top:48%;
display:block;
margin:0;
height:0%;
width:200%;
background:url(../images/dark.png);
content:"";
border-radius:0;
overflow:hidden;
-webkit-transform:rotate(-55deg);
-moz-transform:rotate(-55deg);
-ms-transform:rotate(-55deg);
-o-transform:rotate(-55deg);
transform:rotate(-55deg);
-webkit-transition:0.65s;
-moz-transition:0.65s;
-o-transition:0.65s;
transition:0.65s;
}
.gallery-img a:hover .zoom-icon {
-webkit-transition:0.4s;
-moz-transition:0.4s;
-o-transition:0.4s;
transition:0.4s;
}
.gallery-img a:hover .zoom-icon:before {
left:-60%;
top:-35%;
height:200%;
width:200%;
-webkit-transform:rotate(-55deg);
-moz-transform:rotate(-55deg);
-ms-transform:rotate(-55deg);
-o-transform:rotate(-55deg);
transform:rotate(-55deg);
-webkit-transition:0.6s;
-moz-transition:0.6s;
-o-transition:0.6s;
transition:0.6s;
}
.gallery-img a:hover .zoom-icon:after {
width:44px;
height:63px;
margin:-31px 0 0 -22px;
-webkit-transition:0.45;
-moz-transition:0.45;
-o-transition:0.45;
transition:0.45;
}
.gallery-img a:hover .zoom-icon {
visibility:visible;
border-radius:0;
overflow:hidden;
}
/*--faq--*/
.asked{
padding: 1em;
background: #fff;
margin: 1em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.questions h5{
color: #000;
font-size: 1.3em;
line-height: 1.6em;
}
.questions p{
font-size: 0.9em;
color: #999;
padding:1em 0;
line-height: 2em;
}
/*--//faqs--*/
/*--blank--*/
.blank{
padding: 1em;
min-height: 650px;
}
.blank-page{
padding: 1em;
background: #fff;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.blank-page p{
font-size: 0.9em;
color: #999;
line-height: 2em;
}
/*--//blank--*/
/*--grid--*/
.grid-system {
padding: 1em;
}
.row.show-grid {
margin: 1em 0;
}
.show-grid [class^=col-] {
padding-top: 10px;
padding-bottom: 10px;
border: 1px solid rgb(234, 234, 234);
background: #F3F3F4;
}
.grid-hor h2 {
color: #000;
font-size: 2em;
}
.grid-hor p{
font-size: 0.9em;
color:#999;
margin: 1em 0;
line-height: 1.8em;
}
.grid-hor {
padding: 1em 0 0.5em;
}
.horz-grid{
background: #fff;
margin-bottom: 1em;
padding: 1em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.horz-grid:last-child{
margin-bottom: 0em;
}
.grid-hor h3 {
font-size: 2em;
}
/*--form--*/
.grid-form {
padding: 1em;
}
.grid-form1 {
background: #fff;
margin-bottom: 1em;
padding: 1em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.grid-form1:last-child {
margin-bottom: 0em;
}
.grid-form1 h3{
color: #000;
font-size:2em;
margin-bottom: 1em;
}
.grid-form1 form {
margin: 1.5em 0;
}
.form-control {
box-shadow: none;
outline: none;
border-radius: 0px;
font-size:1em;
color:#000000;
}
.form-control:focus {
border-color: #ccc;
box-shadow: none;
}
.btn {
border-radius: 0px;
outline: none;
}
.btn-default:active, .btn-default:focus, .btn-default:hover {
outline: none !important;
}
input.form-control.input-lg ,select.form-control.input-lg{
margin-bottom: 1em;
}
input.form-control.input-sm,select.form-control.input-sm {
margin: 1.5em 0;
}
input#disabledTextInput,select#disabledSelect {
background-color: #FFF;
}
.email-list1{
background-color: #fff;
padding: 1.8em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.form-control1 {
border: 1px solid #e0e0e0;
padding: 5px 8px;
color: #616161;
width: 100%;
font-size: 0.85em;
font-weight: 300;
height: 40px;
-webkit-appearance: none;
outline: none;
background: none;
box-shadow:none !important;
}
.input-lg {
border-radius: 0px;
}
.panel-footer {
background: none;
}
.input-icon.right > i, .input-icon.right .icon {
right: 12px;
float: right;
}
.input-icon > i, .input-icon .icon {
position: absolute;
display: block;
margin: 10px 8px;
line-height: 14px;
color: #999;
}
.input-group {
position: relative;
display: table;
width: 100%;
border-collapse: separate;
margin-bottom: 0em;
}
.has-success .input-group-addon {
border-color:#A4E7A5 !important;
}
.has-feedback label~.form-control-feedback {
top: 28px !important;
}
.has-success .form-control1 {
background-color: #f1f8e9;
border-color: #c5e1a5 !important;
}
.has-feedback label~.form-control-feedback {
top: 28px !important;
}
.has-error .form-control1 {
background-color: #fde0dc;
border-color: #f69988 !important;
}
.checkbox-inline label,.checkbox-inline1 label,.form-group label{
font-weight:400;
}
/*--validation--*/
.validation-form{
background: #fff;
margin-bottom: 1em;
padding: 1em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.validation-system {
padding: 1em;
}
.validation-form h2 {
color: #1abc9c;
font-size: 1.8em;
border-bottom: 1px solid rgb(241, 233, 233);
padding-bottom: 0.3em;
margin-bottom: 1em;
}
/*----*/
label.control-label {
font-weight: 100;
color: #000;
font-size: 0.9em;
margin: 0;
}
.form-group1 input[type="text"],.form-group1 textarea,
.form-group1 input[type="password"],.form-group1 input[type="date"]{
border: 1px solid #E9E9E9;
font-size: 0.9em;
width: 100%;
outline: none;
padding: 0.5em 1em;
color: #999;
margin-top: 0.5em;
}
.form-group1 textarea{
min-height: 100px;
}
.form-group2 select{
width: 100%;
border: 1px solid #E9E9E9;
font-size: 0.9em;
width: 100%;
outline: none;
padding: 0.5em 1em;
color: #999;
margin-top: 0.5em;
}
.vali-form {
padding: 1.5em 0;
}
.group-mail {
padding-bottom: 1.5em;
}
.vali-form1{
padding: 0 0 1.5em;
}
/*--signin--*/
.login {
padding: 8em 0 0;
}
.login-bottom{
width: 40%;
margin: 3em auto;
background-color: #fff;
padding: 2em 1em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.login-bottom h2{
font-size: 1.4em;
color:#000;
padding: 0em 0.9em 1em;
}
.login-mail{
border: 1px solid #E9E9E9;
margin-bottom: 2em;
padding: 0.5em 1em;
}
.login-mail i{
color: #999;
}
.login-mail input[type="text"],.login-mail input[type="password"]{
border: none;
outline:none;
font-size: 0.9em;
color: #999;
width: 89%;
}
.login-do input[type="submit"]{
border: none;
outline: none;
font-size: 1em;
padding: 0.5em 1em;
color: #fff;
width: 100%;
-webkit-appearance: none;
cursor: pointer;
background: none;
}
.login-do a{
font-size: 0.9em;
padding: 0.5em 1em;
color: #fff;
display: block;
text-align: center;
text-decoration: none;
}
.login-do p{
font-size: 0.9em;
color: #999;
margin: 0.7em 0;
}
.checkbox1 {
margin-bottom: 4px;
padding-left: 27px;
font-size: 1.2em;
line-height: 27px;
cursor: pointer;
position: relative;
color:#555;
}
.checkbox1:last-child {
margin-bottom: 0;
}
.news-letter {
color: #555;
font-size: 0.8em;
margin-bottom: 1em;
display: block;
transition: 0.5s all;
-webkit-transition: 0.5s all;
-moz-transition: 0.5s all;
-o-transition: 0.5s all;
clear: both;
}
.checkbox1 i {
position: absolute;
bottom: 5px;
left: 0;
display: block;
width:20px;
height:20px;
outline: none;
border: 2px solid #E1DFDF;
}
.checkbox1 input + i:after {
content: '';
background: url("../images/tick1.png") no-repeat 1px 2px;
top: -1px;
left: -1px;
width: 15px;
height: 15px;
font: normal 12px/16px FontAwesome;
text-align: center;
}
.checkbox1 input + i:after {
position: absolute;
opacity: 0;
transition: opacity 0.1s;
-o-transition: opacity 0.1s;
-ms-transition: opacity 0.1s;
-moz-transition: opacity 0.1s;
-webkit-transition: opacity 0.1s;
}
.checkbox1 input {
position: absolute;
left: -9999px;
}
.checkbox1 input:checked + i:after {
opacity: 1;
}
.news-letter:hover {
color:#00BFF0;
}
.login h1{
text-align: center;
font-size: 2.5em;
}
.login h1 a{
color:#d95459;
text-decoration: none;
}
/* Shutter In Horizontal */
.hvr-shutter-in-horizontal {
display: inline-block;
vertical-align: middle;
-webkit-transform: translateZ(0);
transform: translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-osx-font-smoothing: grayscale;
position: relative;
background: #d95459;
-webkit-transition-property: color;
transition-property: color;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
width: 100%;
}
.hvr-shutter-in-horizontal:before {
content: "";
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: #1abc9c;
-webkit-transform: scaleX(1);
transform: scaleX(1);
-webkit-transform-origin: 50%;
transform-origin: 50%;
-webkit-transition-property: transform;
transition-property: transform;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out;
}
.hvr-shutter-in-horizontal:hover, .hvr-shutter-in-horizontal:focus, .hvr-shutter-in-horizontal:active {
color: white;
}
.hvr-shutter-in-horizontal:hover:before, .hvr-shutter-in-horizontal:focus:before, .hvr-shutter-in-horizontal:active:before {
-webkit-transform: scaleX(0);
transform: scaleX(0);
}
.login-sub{
background: #1abc9c;
}
.login-sub:before {
background: #d95459;
}
/*--profile--*/
.profile{
min-height:800px;
padding:1em;
}
.profile-bottom{
width: 55%;
margin: 0em auto;
background-color: #fff;
padding: 1em 0 ;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.profile-bottom h3{
font-size: 1.4em;
color:#000;
padding: 0em 0.9em 1em;
border-bottom: 1px solid #F3F3F4;
margin-bottom: 1em;
}
.profile-bottom h3 i{
font-size: 16px;
width: 28px;
height: 28px;
background: #F7F7F7;
border-radius: 100px;
-webkit-border-radius: 100px;
-o-border-radius: 100px;
-moz-border-radius: 100px;
-ms-border-radius: 100px;
text-align: center;
line-height: 1.7em;
color: #8E8E8E;
margin-right: 1%;
}
.profile-text h6{
font-size: 1.5em;
color:#000;
padding: 0em 0.4em 0.3em;
}
.profile-text td{
font-size: 0.9em;
color:#999;
padding: 0.3em 1em;
}
.profile-text td a{
color:#D95459;
}
.profile-bottom-top img {
border-radius: 100px;
-webkit-border-radius: 100px;
-o-border-radius: 100px;
-moz-border-radius: 100px;
-ms-border-radius: 100px;
}
.profile-fo h4{
font-size: 2em;
color:#000;
}
.profile-fo {
text-align:center;
}
.profile-fo p{
font-size: 0.9em;
color:#999;
margin: 0.5em 0;
}
.profile-fo a{
text-decoration: none;
font-size: 0.9em;
color: #fff;
padding: 0.5em;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
background: #D95459;
display: block;
text-align: center;
}
.profile-fo a.pro{
background: #FBB03B;
}
.profile-fo a.pro1{
background: #3BB2D0;
}
.profile-fo a:hover{
background: #1ABC9C;
}
.profile-fo a i{
margin-right:2%;
}
.profile-btn {
padding: 1em 1em 0;
border-top: 1px solid #F3F3F4;
}
.profile-btn button.btn.bg-red{
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
background:#1abc9c;
color:#fff;
float: right;
}
.profile-bottom-bottom {
padding: 2em 0;
}
/*--calendar--*/
.calendar{
padding:1em;
}
/*--map--*/
.span11{
background-color: #fff;
padding: 1em ;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.map-grid {
padding: 1em 0;
}
.map-system {
margin-bottom: 1em;
}
.map-system:last-child {
margin-bottom: 0em;
}
.map-1{
padding-right:8px;
}
.map-2{
padding-left:8px;
}
/*--typography--*/
.typo-1 {
padding: 1em;
}
.grid_3 {
background-color: #fff;
padding: 1.8em;
margin-bottom: 1em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
h3.head-top{
font-size:2em;
margin-bottom:1em;
}
.grid_3 p {
color: #999;
font-size: 0.85em;
margin-bottom: 1em;
}
.but_list h1,.but_list h2,.but_list h3,.but_list h4,.but_list h5,.but_list h6{
margin-bottom: 0.7em;
}
a#myTabDrop1,a#profile-tab,a#home-tab {
padding: 0.8em;
}
.well {
}
div#home {
padding: 1em 0 0;
}
.table td, .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
padding: 15px !important;
font-size: 0.85em;
color: #999;
border-top: none !important;
}
/*--inbox--*/
.inbox-right {
background-color: #fff;
padding: 1.8em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.table-img img{
border-radius: 100px;
-webkit-border-radius: 100px;
-o-border-radius: 100px;
-moz-border-radius: 100px;
-ms-border-radius: 100px;
}
.table-row td{
font-size: 1em;
padding: 15px 8px 15px !important;
line-height: 1.42857143;
vertical-align:middle !important;
border-top: 1px solid #ddd;
}
td.table-text h6{
font-size: 1.2em;
color:#000;
}
td.table-text p{
font-size:0.9em;
line-height: 1.5em;
color:#999;
}
td i{
color:#999;
}
td span{
color:#fff;
font-size: 0.8em;
padding: 4px 7px;
}
td span.fam{
color:#fff;
font-size: 0.8em;
padding: 4px 7px;
}
td span.fam{
background:#3BB2D0;
}
td span.ur{
background: #FFA800;
}
td span.work{
background: #7F8C8D;
}
td span.mar{
background: #1ABC9C;
}
.compose h2{
font-size: 1.2em;
color: #fff;
background: #D95459;
text-align: center;
padding: 10px;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
}
.inbox-mail{
padding: 1em 0;
}
.input-group{
padding-bottom: 1em;
}
.float-right {
float: right;
}
.float-left {
float: left;
}
.mail-toolbar {
padding-bottom: 2em;
}
.table {
margin-bottom: 0;
}
.form-control2 {
border: 1px solid #e0e0e0;
padding: 5px 8px;
color: #616161;
width: 100%;
font-size: 0.85em;
font-weight: 300;
height: 40px;
-webkit-appearance: none;
outline: none;
background-color: #fff;
border: 1px solid #ebeff6;
border-top-left-radius: 4px;
-webkit-border-top-left-radius: 4px;
-o-border-top-left-radius: 4px;
-ms-border-top-left-radius: 4px;
-moz-border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-o-border-bottom-left-radius: 4px;
-ms-border-bottom-left-radius: 4px;
-moz-border-bottom-left-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.input-group-btn button.btn.btn-success{
line-height: 24px;
background-color: #FFA800;
border: 1px solid transparent;
border-color: #FFA800;
border-top-right-radius: 4px;
-webkit-border-top-right-radius: 4px;
-o-border-top-right-radius: 4px;
-ms-border-top-right-radius: 4px;
-moz-border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-o-border-bottom-right-radius: 4px;
-ms-border-bottom-right-radius: 4px;
-moz-border-bottom-right-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.nav-sidebar ul li a span{
color: #fff;
font-size: 0.8em;
background: #D95459;
border-radius: 10px;
width: 25px;
height: 18px;
display: inline-block;
line-height: 1.7em;
text-align: center;
float: right;
}
.content-box {
background-color: #fff;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.content-box ul li{
list-style:none;
}
.content-box ul li a{
font-size:1em;
color:#999;
padding:0.5em 1em;
display: block;
}
.content-box ul li span{
font-size:1.1em;
color:#fff;
padding:0.5em 1em;
background:#1ABC9C;
display: block;
border-top-left-radius: 4px;
-webkit-border-top-left-radius: 4px;
-o-border-top-left-radius: 4px;
-ms-border-top-left-radius: 4px;
-moz-border-top-left-radius: 4px;
border-top-right-radius: 4px;
-webkit-border-top-right-radius: 4px;
-o-border-top-right-radius: 4px;
-ms-border-top-right-radius: 4px;
-moz-border-top-right-radius: 4px;
}
.content-box ul li a i{
margin-right:4%;
}
.tabs li a{
padding:1em;
}
.tabs li a:hover{
background:#1ABC9C !important;
color:#fff;
}
.tabs li:first-child a{
border-top-left-radius: 4px;
-webkit-border-top-left-radius: 4px;
-o-border-top-left-radius: 4px;
-ms-border-top-left-radius: 4px;
-moz-border-top-left-radius: 4px;
border-top-right-radius: 4px;
-webkit-border-top-right-radius: 4px;
-o-border-top-right-radius: 4px;
-ms-border-top-right-radius: 4px;
-moz-border-top-right-radius: 4px;
}
.tabs li:last-child a{
border-bottom-left-radius: 4px;
-webkit-border-bottom-left-radius: 4px;
-o-border-bottom-left-radius: 4px;
-ms-border-bottom-left-radius: 4px;
-moz-border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-o-border-bottom-right-radius: 4px;
-ms-border-bottom-right-radius: 4px;
-moz-border-bottom-right-radius: 4px;
}
nav.nav-sidebar {
margin: 1em 0;
background: #fff;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
tr.table-row:hover{
background:#FAFAFA;
}
.tab-content {
padding-left: 0px;
}
tr.table-row {
border-top: 1px solid #F3F3F4;
}
.tab-content-in{
margin:0;
}
/*--graph--*/
.graph-2 {
padding-left: 8px;
}
.graph-1 {
padding-right: 8px;
}
.graph-5 {
padding-left: 8px;
}
.graph-4 {
padding: 0 8px;
}
.graph-3 {
padding-right: 8px;
}
.grid-1{
background-color: #fff;
padding: 1.8em;
border: 1px solid #ebeff6;
border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.graph h4{
font-size: 2em;
text-align: center;
margin-bottom: 1em;
}
.grid-graph {
float: left;
width: 36%;
padding-right: 7%;
padding-top: 10%;
}
.grid-graph1 {
font-size: 12px;
border: 1px solid #E6E6E6;
padding: 10px;
}
#os-Win-lbl {
border-left: #1ABC9C solid 1em;
padding-left: .5em;
font-size: 1em;
color: #777F8C;
}
.grid-graph div {
margin: 3px 0;
}
#os-Other-lbl {
border-left: #D95459 solid 1em;
padding-left: .5em;
font-size: 1em;
color: #777F8C;
}
#os-Mac-lbl {
border-left: #3BB2D0 solid 1em;
padding-left: .5em;
font-size: 1em;
color: #777F8C;
}
.grid-graph span {
float: right;
padding-left: .5em;
}
.grid-2{
float: left;
}
.graph-box1 {
margin: 1em 0;
}
.graph {
padding: 1em 0;
}
/*--404--*/
.four{
text-align: center;
padding: 3em 0;
}
.four a{
font-size: 0.9em;
padding: 0.5em 1em;
color: #fff;
display: block;
text-decoration: none;
background: #d95459;
margin: 0 auto;
width: 10%;
}
.four p{
font-size: 1em;
padding: 0.5em 0em 2em;
display: block;
}
/*--footer--*/
.copy-right {
padding-top: 5em;
text-align: center;
}
.copy{
background:#fff;
text-align:center;
padding:1.5em 0;
}
.copy p, .copy-right p{
font-size:0.85em;
color:#555;
}
.copy p a, .copy-right p a{
color:#000;
}
/*--responsive--*/
@media(max-width:1366px){
.middle-content {
padding: 2.75em 2.15em;
}
}
@media(max-width:1280px){
.middle-content {
padding: 3.35em 2.15em;
}
canvas#bar1 ,canvas#line1{
width: 428px !important;
}
canvas#polarArea,canvas#radar,canvas#doughnut {
width: 265px !important;
height: 265px !important;
}
.login-mail input[type="text"],
.login-mail input[type="password"] {
width: 88%;
}
}
@media(max-width:1024px){
.top-content {
padding: 0;
width: 40%;
}
.content-top-1 {
background-color: #fff;
padding: 1.5em 1em;
}
.top-content label {
font-size: 1.8em;
}
.bottom-head p {
font-size: 0.74em;
}
i.fa.fa-twitter {
height: 160px;
}
i.fa.fa-facebook {
height: 160px;
}
canvas#bar1, canvas#line1 {
width: 307px !important;
height: 273px !important;
}
.grid-graph {
float: left;
width: 31%;
padding-right: 2%;
}
canvas#polarArea, canvas#radar, canvas#doughnut {
width: 190px !important;
height: 190px !important;
}
.grid-1 {
padding: 1.8em 1em;
}
.but_list h1{
font-size:2em;
}
/*--table--*/
.table td, .table>tbody>tr>td, .table>tbody>tr>th,
.table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td,
.table>thead>tr>th {
padding: 8px !important;
}
/*--gallery--*/
.text-gallery h6 {
font-size: 1em;
}
/*--404--*/
.four a {
width: 12%;
}
/*--sign--*/
.login-bottom {
width: 53%;
}
.profile-bottom {
width: 80%;
}
}
@media(max-width:930px){
.modal-dialog {
width: 450px;
}
}
@media(max-width:870px){
.full-left {
width: 31%;
}
}
@media(max-width:768px){
.content-top-1 {
padding: 1.5em 2em;
}
.top-content {
width: 63%;
float: left;
}
.top-content1 {
float: left;
}
.mid-content-top {
padding: 1em;
}
.middle-content {
padding: 1.35em 2.15em;
}
.post-top {
padding: 0 1em;
}
.weather {
margin-top: 1em;
}
.content-bottom {
padding: 0em 0 1em;
}
.content-graph {
margin: 1em;
}
.content-top {
padding: 1em 0 0;
}
canvas#bar1, canvas#line1 {
width: 444px !important;
height: 234px !important;
}
.grid-graph {
width: 55%;
padding-right: 0%;
}
canvas#polarArea, canvas#radar, canvas#doughnut {
width: 320px !important;
height: 320px !important;
}
.grid-1 {
padding: 1.8em 1em;
}
.graph-1 {
padding: 0 1em 1em;
}
.graph-2 {
padding: 0 1em 0em;
}
.graph-3 {
padding: 0 1em;
}
.graph-4 {
padding: 1em;
}
.graph-5 {
padding: 0em 1em;
}
.grid-on{
padding:1.5em 5em;
}
/*--maps--*/
.map-1 {
padding: 0em 1em 1em;
}
.map-2 {
padding: 0 1em;
}
#map, #map1, #map2, #map3 {
height: 300px !important;
}
#map.large,#map1.large,#map2.large,#map3.large{
height:300px !important;
}
/*--typo--*/
.modal-dialog {
width: 430px;
margin: 30px auto;
}
/*--inbox--*/
.tab-content {
padding: 0 1em;
}
/*--gallery--*/
.col-md {
width: 32.6%;
}
.col-md:nth-child(5), .col-md:nth-child(10) {
margin-right: 1%;
}
.col-md:nth-child(3), .col-md:nth-child(6),.col-md:nth-child(9),.col-md:nth-child(12) {
margin-right: 0%;
}
/*--404--*/
.four a {
width: 16%;
}
/*--sign--*/
.login {
padding: 6em 0 0;
}
/*--forms--*/
.grid-form1 h3 {
font-size: 1.7em;
}
.col-sm-2 {
padding: 0;
}
.help-block {
font-size: 13px;
}
.grid-form1 form {
margin: 0em 0;
}
.col-md-8 {
padding: 0;
}
.form-horizontal .control-label {
padding: 7px 0px 0;
}
.form-group {
margin-bottom: 8px;
}
.form-inline .form-group {
margin-bottom: 8px;
}
.form-last{
padding-top:1em;
}
.grid-hor h3 {
font-size: 1.7em;
}
.profile-bottom {
width: 95%;
}
.profile-bottom-img{
text-align:center;
}
.profile-text {
padding-top: 1em;
text-align: center;
}
.profile-fo a {
width: 50%;
margin: 0 auto;
}
.profile-text table {
width: 100%;
}
.profile-fo {
margin-bottom: 1em;
}
}
@media (max-width:736px){
.navbar-right~.navbar-right {
display: block;
}
.navbar-right {
display: none;
}
p.monday {
font-size: 1em;
}
.grid-date h4 {
font-size:2.5em;
padding:20px 0 0px 0;
}
.copy {
padding: 1em 0;
}
ul.new {
text-align: center;
}
.grid_box1{
margin-bottom:5px;
}
.navbar-default .navbar-toggle {
border-color: #1ABC9C;
background-color: #1ABC9C !important;
margin-right: 16px;
margin-top: 13px;
}
.navbar-default .navbar-toggle .icon-bar {
background-color: #fff;
}
form.navbar-form.navbar-right {
margin: 0;
}
.sidebar-nav.navbar-collapse {
margin: 0;
}
.media_1-right {
padding:0;
}
.navbar-default {
background-color: #FFFFFF;
}
.hvr-bounce-to-right:before {
right: 93%;
}
.navbar-header {
background-color: #D95459;
}
h1 a.navbar-brand {
width: 152px;
}
.full-left {
width: 35%;
}
}
@media(max-width:640px){
.full-left {
width: 40%;
}
.drop-men {
margin-right: 17px;
}
canvas#bar1, canvas#line1 {
width: 568px !important;
}
.grid-on {
padding: 1.5em 9em;
}
#map, #map1, #map2, #map3 {
height: 250px !important;
}
#map.large,#map1.large,#map2.large,#map3.large{
height:250px !important;
}
/*--typo--*/
.table td, .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
padding: 8px !important;
}
.btn-group-lg>.btn, .btn-lg {
padding: 10px 8px;
}
.but_list h1 {
font-size: 1.6em;
}
.but_list h2 {
font-size: 1.5em;
}
.but_list h2 {
font-size: 1.4em;
}
/*--typo--*/
.four a {
width: 21%;
}
label.hor-form{
padding: 7px 14px 0 !important;
}
.btn-send{
margin-bottom:1em;
}
.profile-fo h4 {
font-size: 1.7em;
}
}
@media (max-width: 600px){
.full-left {
width: 43%;
}
}
@media(max-width:480px){
.full-left {
width: 49%;
}
.hvr-bounce-to-right:before {
right: 91%;
}
canvas#bar1, canvas#line1 {
width: 413px !important;
}
.grid-on {
padding: 1.5em 4em;
}
#map, #map1, #map2, #map3 {
height: 200px !important;
}
#map.large,#map1.large,#map2.large,#map3.large{
height:200px !important;
}
/*--typo--*/
h3.head-top {
font-size: 1.8em;
}
.btn{
margin-bottom:1em;
}
.modal-dialog {
width: 390px;
}
.grid_3 {
background-color: #fff;
padding: 1em;
}
div#home {
padding: 0em 0 0;
}
.grid_3 p {
margin-bottom: 0em;
}
.label {
font-weight: 400;
line-height: 2.2em;
}
.but_list h1, .but_list h2, .but_list h3 {
margin-bottom: 0em;
}
.but_list h4, .but_list h5, .but_list h6 {
margin-bottom: 1em;
}
.pagination {
margin: 10px 0;
}
/*--404--*/
.four a {
width: 25%;
}
.four img{
width:100%;
}
/*--faq--*/
.questions h5 {
font-size: 1.1em;
}
/*--sign--*/
.login-bottom {
width: 80%;
}
.login {
padding: 4em 0 0;
}
.copy-right {
padding-top: 4em;
}
/*--form--*/
.form-horizontal .control-label {
padding: 7px 2px 0;
}
.col-sm-8 {
padding: 0;
}
.tab-content {
padding: 0 1em;
}
.hor-form{
padding: 7px 14px 0 !important;
}
.validation-form {
padding: 0em;
}
.grid-hor h3 {
font-size: 1.5em;
}
}
@media(max-width:470px){
.modal-dialog {
width: 320px;
}
}
@media(max-width:414px){
.full-left {
width: 45%;
}
.drop-men {
margin-right: 0;
}
.navbar-left-right input[type="text"] {
width: 77%;
}
.navbar-left-right {
width: 79%;
}
.top-content {
width: 56%;
}
}
@media(max-width:404px){
span.name-caret {
display: none;
}
.navbar-left-right {
width: 74%;
}
.navbar-left-right input[type="text"] {
width: 80%;
}
.drop-men {
margin-right: 0px;
}
.top-content {
width: 48%;
}
.content-top-1 {
padding: 1em;
}
i.fa.fa-facebook ,i.fa.fa-twitter{
height: 116px;
font-size: 3.5em;
}
.post-bottom-1 p, .post-bottom-2 p {
font-size: 0.9em;
}
.weather-top {
padding: 1em;
}
.degree span {
float: left;
font-size: 2em;
}
.weather-top-left p {
font-size: 0.8em;
}
.weather-head h4 {
font-size: 0.9em;
}
.weather-head h6 {
font-size: 1.2em;
}
figure.icons canvas {
width: 65%;
}
.weather-head {
padding: 1em 0em;
}
.middle-content {
padding: 1em;
}
.middle-content h3 {
font-size: 1.3em;
}
.navbar-default .navbar-toggle {
margin-right: 12px;
}
.hvr-bounce-to-right:before {
right: 86%;
}
/*--graph--*/
canvas#bar1, canvas#line1 {
width: 256px !important;
height: 200px !important;
}
canvas#pie {
width: 300px !important;
height: 187px !important;
}
canvas#polarArea, canvas#radar, canvas#doughnut {
width: 250px !important;
height: 250px !important;
}
.grid-on {
padding: 1.5em 1em;
}
.grid-graph {
width: 80%;
padding-top: 0%;
}
.graph h4 {
font-size: 1.5em;
margin-bottom: 0.5em;
}
.grid-1 {
padding: 1em;
}
.table h1 {
font-size: 1.7em;
}
.table h2 {
font-size: 1.5em;
}
.table h3 {
font-size: 1.3em;
}
.table h4 {
font-size: 1.2em;
}
.table h5 {
font-size: 1.1em;
}
.table td, .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
font-size: 0.7em;
padding: 4px !important;
}
.but_list h1 {
font-size: 1.4em;
}
.btn-group-lg>.btn, .btn-lg {
padding: 8px 8px;
font-size: 12px;
}
.but_list h2 {
font-size: 1.2em;
}
.but_list h3 {
font-size: 1.1em;
}
.but_list h4 {
font-size: 1em;
}
.label {
line-height: 2.4em;
}
.but_list h4, .but_list h5, .but_list h6 {
margin-bottom: 0em;
}
h3.head-top {
font-size: 1.5em;
margin-bottom: 0.8em;
}
.alert {
font-size: 0.9em;
}
.pagination-lg>li>a, .pagination-lg>li>span {
padding: 4px 12px;
}
.modal-title {
font-size: 1.2em;
}
.modal-dialog {
width: 256px;
}
/*--inbox--*/
.inbox-right {
padding: 1em;
}
.table-img img {
width: 40px;
}
.mail-toolbar {
padding-bottom: 1em;
}
/*--inbox--*/
.col-md {
width: 48.6%;
}
.col-md:nth-child(3), .col-md:nth-child(6),
.col-md:nth-child(9),.col-md:nth-child(12) {
margin-right: 1%;
}
.col-md:nth-child(2),.col-md:nth-child(4), .col-md:nth-child(6),
.col-md:nth-child(8),.col-md:nth-child(10),.col-md:nth-child(12) {
margin-right: 0%;
}
/*--404--*/
.four a {
width: 40%;
}
.four {
padding: 2em 0 0;
}
/*--faq--*/
.questions p {
padding: 0.5em 0;
}
/*--sign--*/
.login-bottom {
width: 94%;
margin: 1.5em auto;
padding:1em 0;
}
.login {
padding: 2em 0 0;
}
.login h1 {
font-size: 2em;
}
.copy-right {
padding-top: 1em;
}
/*--form--*/
.grid-form1 h3 {
font-size: 1.5em;
margin-bottom: 0.5em;
}
.grid-hor h3 {
font-size: 1.3em;
}
.grid-hor {
padding:0em;
}
.dropdown-menu {
left: -7em;
}
.menu1 {
left: -12.5em;
min-width: 301px;
}
.copy p, .copy-right p {
font-size: 0.8em;
}
.tab-content {
padding: 0 1em;
margin: 0.5em 0 0 0;
}
.col-md-6.page_1 {
padding: 0;
}
ul.dropdown-menu.dropdown-menu-right {
left: -1em;
top: 2.5em;
}
.tab-content-in{
padding:0 1em;
}
.input-group-in{
padding-bottom: 0em;
}
.content-box ul li a {
font-size: 0.9em;
}
.tabs li a {
padding: 0.7em 1em;
}
.show-grid [class^=col-] {
font-size: 12px;
}
.login-do input[type="submit"] {
font-size: 0.9em;
}
.profile-bottom {
width: 100%;
}
.content-color {
right: 9%;
padding: 0.5em;
}
.profile-text td {
font-size: 0.8em;
}
.top-content label {
font-size: 1.6em;
}
} |
(ns com.yetanalytics.xapipe.cli-test
(:require [clojure.test :refer :all]
[com.yetanalytics.xapipe.cli :refer :all]
[com.yetanalytics.xapipe.store :as store]
[com.yetanalytics.xapipe.test-support :as sup]))
(use-fixtures :once (sup/instrument-fixture))
(deftest create-store-test
(is (satisfies? store/XapipeStore (create-store {:storage :noop})))
(is (satisfies? store/XapipeStore (create-store {:storage :redis
:redis-uri "redis://0.0.0.0:6379"
:refis-prefix "whatever"})))
(is (satisfies? store/XapipeStore (create-store {:storage :mem}))))
(deftest parse-lrs-url-test
(is (= {:url-base "http://0.0.0.0:8080", :xapi-prefix "/xapi"}
(parse-lrs-url "http://0.0.0.0:8080/xapi"))))
(deftest options->client-opts-test
(is (= {:conn-mgr-opts
{:timeout 10,
:threads 4,
:default-per-route 2,
:io-config {:io-thread-count 16}}}
(options->client-opts
{:conn-timeout 10
:conn-threads 4
:conn-default-per-route 2
:conn-insecure? false
:conn-io-thread-count 16}))))
(deftest options->config-test
(is (= {:get-buffer-size 100,
:batch-timeout 200,
:cleanup-buffer-size 100
:source
{:request-config
{:url-base "http://0.0.0.0:8080",
:xapi-prefix "/xapi",
:username "foo",
:password "bar"},
:get-params {},
:poll-interval 1000,
:batch-size 50,
:backoff-opts
{:budget 1000, :max-attempt 10, :j-range 10, :initial 1}},
:target
{:request-config
{:url-base "http://0.0.0.0:8081",
:xapi-prefix "/xapi",
:username "foo",
:password "bar"},
:batch-size 50,
:backoff-opts
{:budget 1000, :max-attempt 10, :j-range 10, :initial 1}},
:filter {},
:statement-buffer-size 1000,
:batch-buffer-size 100}
(options->config
{:job-id "foo"
:source-url "http://0.0.0.0:8080/xapi"
:source-batch-size 50
:source-poll-interval 1000
:get-params {}
:source-username "foo"
:source-password "bar"
:source-backoff-budget 1000
:source-backoff-max-attempt 10
:source-backoff-j-range 10
:source-backoff-initial 1
:target-url "http://0.0.0.0:8081/xapi"
:target-batch-size 50
:target-username "foo"
:target-password "bar"
:target-backoff-budget 1000
:target-backoff-max-attempt 10
:target-backoff-j-range 10
:target-backoff-initial 1
:get-buffer-size 100
:batch-timeout 200
:cleanup-buffer-size 100
:filter-template-profile-urls []
:filter-template-ids []
:filter-pattern-profile-urls []
:filter-pattern-ids []
:statement-buffer-size 1000
:batch-buffer-size 100}))))
(deftest create-job-test
(is (= {:id "foo",
:version 0,
:config
{:get-buffer-size 100,
:statement-buffer-size 1000,
:batch-buffer-size 100,
:batch-timeout 200,
:cleanup-buffer-size 50,
:source
{:request-config
{:url-base "http://0.0.0.0:8080",
:xapi-prefix "/xapi",
:username "foo",
:password "bar"},
:get-params {:limit 50},
:poll-interval 1000,
:batch-size 50,
:backoff-opts
{:budget 1000, :max-attempt 10, :j-range 10, :initial 1}},
:target
{:request-config
{:url-base "http://0.0.0.0:8081",
:xapi-prefix "/xapi",
:username "foo",
:password "bar"},
:batch-size 50,
:backoff-opts
{:budget 1000, :max-attempt 10, :j-range 10, :initial 1}},
:filter {}},
:state
{:status :init,
:cursor "1970-01-01T00:00:00.000000000Z",
:source {:errors []},
:target {:errors []},
:errors [],
:filter {}}}
(create-job
{:job-id "foo"
:source-url "http://0.0.0.0:8080/xapi"
:source-batch-size 50
:source-poll-interval 1000
:get-params {}
:source-username "foo"
:source-password "bar"
:source-backoff-budget 1000
:source-backoff-max-attempt 10
:source-backoff-j-range 10
:source-backoff-initial 1
:target-url "http://0.0.0.0:8081/xapi"
:target-batch-size 50
:target-username "foo"
:target-password "bar"
:target-backoff-budget 1000
:target-backoff-max-attempt 10
:target-backoff-j-range 10
:target-backoff-initial 1
:get-buffer-size 100
:batch-timeout 200
:cleanup-buffer-size 50
:filter-template-profile-urls []
:filter-template-ids []
:filter-pattern-profile-urls []
:filter-pattern-ids []
:statement-buffer-size 1000
:batch-buffer-size 100}))))
(deftest reconfigure-with-options-test
(let [reconfigured
(reconfigure-with-options
{:get-buffer-size 100,
:statement-buffer-size 1000,
:batch-buffer-size 100,
:batch-timeout 200,
:cleanup-buffer-size 50,
:source
{:request-config
{:url-base "http://0.0.0.0:8080",
:xapi-prefix "/xapi",
:username "foo",
:password "bar"},
:get-params {:limit 50},
:poll-interval 1000,
:batch-size 50,
:backoff-opts
{:budget 1000, :max-attempt 10, :j-range 10, :initial 1}},
:target
{:request-config
{:url-base "http://0.0.0.0:8081",
:xapi-prefix "/xapi",
:username "foo",
:password "bar"},
:batch-size 50,
:backoff-opts
{:budget 1000, :max-attempt 10, :j-range 10, :initial 1}},
:filter {}}
{:job-id "foo"
:source-url "http://0.0.0.0:8082/xapi2"
:source-batch-size 100
:source-poll-interval 3000
:get-params {:format "exact"}
:source-username "baz"
:source-password "quxx"
:source-backoff-budget 999
:source-backoff-max-attempt 9
:source-backoff-j-range 9
:source-backoff-initial 2
:target-url "http://0.0.0.0:8083/xapi2"
:target-batch-size 100
:target-username "baz"
:target-password "quxx"
:target-backoff-budget 999
:target-backoff-max-attempt 9
:target-backoff-j-range 9
:target-backoff-initial 2
:get-buffer-size 200
:batch-timeout 300
:cleanup-buffer-size 100
:statement-buffer-size 10000
:batch-buffer-size 1000})]
(is (= {:get-buffer-size 200,
:batch-timeout 300,
:statement-buffer-size 10000,
:batch-buffer-size 1000,
:cleanup-buffer-size 100,
:source
{:request-config
{:url-base "http://0.0.0.0:8082",
:xapi-prefix "/xapi2",
:username "baz",
:password "quxx"},
:get-params {:format "exact"
:limit 100},
:poll-interval 3000,
:batch-size 100,
:backoff-opts
{:budget 999, :max-attempt 9, :j-range 9, :initial 2}},
:target
{:request-config
{:url-base "http://0.0.0.0:8083",
:xapi-prefix "/xapi2",
:username "baz",
:password "quxx"},
:batch-size 100,
:backoff-opts
{:budget 999, :max-attempt 9, :j-range 9, :initial 2}},
:filter {}}
reconfigured))))
|
rd Debug /S /Q
rd Release /S /Q
rd Debug64 /S /Q
rd Release64 /S /Q
rd x64 /S /Q
rd ipch /S /Q
del AllCppProjects.opensdf /S /Q
del AllCppProjects.sdf /S /Q
del AllCppProjects.v12.suo /S /Q /A H
rd apis\CTP_Quote\Debug /S /Q
rd apis\CTP_Quote\Debug64 /S /Q
rd apis\CTP_Quote\Release /S /Q
rd apis\CTP_Quote\Release64 /S /Q
rd apis\CTP_Quote\x64 /S /Q
rd apis\CTP_Trade\Debug /S /Q
rd apis\CTP_Trade\Debug64 /S /Q
rd apis\CTP_Trade\Release /S /Q
rd apis\CTP_Trade\Release64 /S /Q
rd apis\CTP_Trade\x64 /S /Q
rd apis\CTP_SE_Quote\Debug /S /Q
rd apis\CTP_SE_Quote\Debug64 /S /Q
rd apis\CTP_SE_Quote\Release /S /Q
rd apis\CTP_SE_Quote\Release64 /S /Q
rd apis\CTP_SE_Quote\x64 /S /Q
rd apis\CTP_SE_Trade\Debug /S /Q
rd apis\CTP_SE_Trade\Debug64 /S /Q
rd apis\CTP_SE_Trade\Release /S /Q
rd apis\CTP_SE_Trade\Release64 /S /Q
rd apis\CTP_SE_Trade\x64 /S /Q
rd apis\CTPZQ_Quote\Debug /S /Q
rd apis\CTPZQ_Quote\Debug64 /S /Q
rd apis\CTPZQ_Quote\Release /S /Q
rd apis\CTPZQ_Quote\Release64 /S /Q
rd apis\CTPZQ_Quote\x64 /S /Q
rd apis\CTPZQ_Trade\Debug /S /Q
rd apis\CTPZQ_Trade\Debug64 /S /Q
rd apis\CTPZQ_Trade\Release /S /Q
rd apis\CTPZQ_Trade\Release64 /S /Q
rd apis\CTPZQ_Trade\x64 /S /Q
rd apis\CTP_SOPT_Trade\Debug /S /Q
rd apis\CTP_SOPT_Trade\Debug64 /S /Q
rd apis\CTP_SOPT_Trade\Release /S /Q
rd apis\CTP_SOPT_Trade\Release64 /S /Q
rd apis\CTP_SOPT_Trade\x64 /S /Q
rd apis\Kingstar_Quote\Debug /S /Q
rd apis\Kingstar_Quote\Release /S /Q
rd apis\Kingstar_Quote\x64 /S /Q
rd apis\Kingstar_Trade\Debug /S /Q
rd apis\Kingstar_Trade\Release /S /Q
rd apis\Kingstar_Trade\x64 /S /Q
rd apis\LTS_Query_v2\Debug /S /Q
rd apis\LTS_Query_v2\Release /S /Q
rd apis\LTS_Query_v2\x64 /S /Q
rd apis\LTS_Quote_v2\Debug /S /Q
rd apis\LTS_Quote_v2\Release /S /Q
rd apis\LTS_Quote_v2\x64 /S /Q
rd apis\LTS_Trade_v2\Debug /S /Q
rd apis\LTS_Trade_v2\Release /S /Q
rd apis\LTS_Trade_v2\x64 /S /Q
rd apis\Tdx_Trade\Debug /S /Q
rd apis\Tdx_Trade\Release /S /Q
rd apis\Tdx_Trade\x64 /S /Q
rd apis\TongShi_Quote\Debug /S /Q
rd apis\TongShi_Quote\Release /S /Q
rd apis\TongShi_Quote\x64 /S /Q
rd apis\Sgit_Quote\Debug /S /Q
rd apis\Sgit_Quote\Debug64 /S /Q
rd apis\Sgit_Quote\Release /S /Q
rd apis\Sgit_Quote\Release64 /S /Q
rd apis\Sgit_Quote\x64 /S /Q
rd apis\Sgit_Trade\Debug /S /Q
rd apis\Sgit_Trade\Debug64 /S /Q
rd apis\Sgit_Trade\Release /S /Q
rd apis\Sgit_Trade\Release64 /S /Q
rd apis\Sgit_Trade\x64 /S /Q
rd apis\ATP_Quote\Debug /S /Q
rd apis\ATP_Quote\Debug64 /S /Q
rd apis\ATP_Quote\Release /S /Q
rd apis\ATP_Quote\Release64 /S /Q
rd apis\ATP_Quote\x64 /S /Q
rd apis\ATP_Trade\Debug /S /Q
rd apis\ATP_Trade\Debug64 /S /Q
rd apis\ATP_Trade\Release /S /Q
rd apis\ATP_Trade\Release64 /S /Q
rd apis\ATP_Trade\x64 /S /Q
rd apis\Kingstar_Quote\Release64 /S /Q
rd apis\Kingstar_Trade\Release64 /S /Q
rd apis\TongShi_Quote\Release64 /S /Q
rd common\Queue\Debug /S /Q
rd common\Queue\Release /S /Q
rd common\Queue\x64 /S /Q
rd tools\FakeAPI\Debug /S /Q
rd tools\FakeAPI\Release /S /Q
rd tools\FakeAPI\x64 /S /Q
rd tests\CPP\Debug /S /Q
rd tests\CPP\Release /S /Q
rd tests\CPP\x64 /S /Q
rd languages\CSharp\XAPI_CSharp\bin /S /Q
rd languages\CSharp\XAPI_CSharp\obj /S /Q
rd csharp\QuantBox.XAPI\bin /S /Q
rd csharp\QuantBox.XAPI\obj /S /Q
|
defmodule Workbench.Nodes do
@type node_name :: String.t()
@spec nodes :: [node_name]
def nodes do
[node() | Node.list()]
|> Enum.map(&Atom.to_string/1)
end
@spec this :: node_name
def this, do: node() |> Atom.to_string()
@spec connected?(node_name) :: boolean
def connected?(node) do
nodes() |> Enum.member?(node)
end
end
|
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NgaModule } from '../../theme/nga.module';
import { routing } from './shop.routing';
import { ShopComponent } from './shop.component';
@NgModule({
imports: [
CommonModule,
FormsModule,
NgaModule,
routing
],
declarations: [ShopComponent]
})
export class ShopModule { }
|
data {
int d_int;
array[d_int] int d_int_array;
real d_real;
array[d_int] real d_real_array;
vector[d_int] d_vector;
row_vector[d_int] d_row_vector;
}
transformed data {
real transformed_data_real;
transformed_data_real = gumbel_lccdf(d_int | d_int, d_int);
transformed_data_real = gumbel_lccdf(d_int | d_int, d_real);
transformed_data_real = gumbel_lccdf(d_int | d_int, d_real_array);
transformed_data_real = gumbel_lccdf(d_int | d_int, d_vector);
transformed_data_real = gumbel_lccdf(d_int | d_int, d_row_vector);
transformed_data_real = gumbel_lccdf(d_int | d_real, d_int);
transformed_data_real = gumbel_lccdf(d_int | d_real, d_real);
transformed_data_real = gumbel_lccdf(d_int | d_real, d_real_array);
transformed_data_real = gumbel_lccdf(d_int | d_real, d_vector);
transformed_data_real = gumbel_lccdf(d_int | d_real, d_row_vector);
transformed_data_real = gumbel_lccdf(d_int | d_real_array, d_int);
transformed_data_real = gumbel_lccdf(d_int | d_real_array, d_real);
transformed_data_real = gumbel_lccdf(d_int | d_real_array, d_real_array);
transformed_data_real = gumbel_lccdf(d_int | d_real_array, d_vector);
transformed_data_real = gumbel_lccdf(d_int | d_real_array, d_row_vector);
transformed_data_real = gumbel_lccdf(d_int | d_vector, d_int);
transformed_data_real = gumbel_lccdf(d_int | d_vector, d_real);
transformed_data_real = gumbel_lccdf(d_int | d_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_int | d_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_int | d_vector, d_row_vector);
transformed_data_real = gumbel_lccdf(d_int | d_row_vector, d_int);
transformed_data_real = gumbel_lccdf(d_int | d_row_vector, d_real);
transformed_data_real = gumbel_lccdf(d_int | d_row_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_int | d_row_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_int | d_row_vector, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real | d_int, d_int);
transformed_data_real = gumbel_lccdf(d_real | d_int, d_real);
transformed_data_real = gumbel_lccdf(d_real | d_int, d_real_array);
transformed_data_real = gumbel_lccdf(d_real | d_int, d_vector);
transformed_data_real = gumbel_lccdf(d_real | d_int, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real | d_real, d_int);
transformed_data_real = gumbel_lccdf(d_real | d_real, d_real);
transformed_data_real = gumbel_lccdf(d_real | d_real, d_real_array);
transformed_data_real = gumbel_lccdf(d_real | d_real, d_vector);
transformed_data_real = gumbel_lccdf(d_real | d_real, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real | d_real_array, d_int);
transformed_data_real = gumbel_lccdf(d_real | d_real_array, d_real);
transformed_data_real = gumbel_lccdf(d_real | d_real_array, d_real_array);
transformed_data_real = gumbel_lccdf(d_real | d_real_array, d_vector);
transformed_data_real = gumbel_lccdf(d_real | d_real_array, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real | d_vector, d_int);
transformed_data_real = gumbel_lccdf(d_real | d_vector, d_real);
transformed_data_real = gumbel_lccdf(d_real | d_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_real | d_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_real | d_vector, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real | d_row_vector, d_int);
transformed_data_real = gumbel_lccdf(d_real | d_row_vector, d_real);
transformed_data_real = gumbel_lccdf(d_real | d_row_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_real | d_row_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_real | d_row_vector, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_int, d_int);
transformed_data_real = gumbel_lccdf(d_real_array | d_int, d_real);
transformed_data_real = gumbel_lccdf(d_real_array | d_int, d_real_array);
transformed_data_real = gumbel_lccdf(d_real_array | d_int, d_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_int, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_real, d_int);
transformed_data_real = gumbel_lccdf(d_real_array | d_real, d_real);
transformed_data_real = gumbel_lccdf(d_real_array | d_real, d_real_array);
transformed_data_real = gumbel_lccdf(d_real_array | d_real, d_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_real, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_real_array, d_int);
transformed_data_real = gumbel_lccdf(d_real_array | d_real_array, d_real);
transformed_data_real = gumbel_lccdf(d_real_array | d_real_array, d_real_array);
transformed_data_real = gumbel_lccdf(d_real_array | d_real_array, d_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_real_array, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_vector, d_int);
transformed_data_real = gumbel_lccdf(d_real_array | d_vector, d_real);
transformed_data_real = gumbel_lccdf(d_real_array | d_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_real_array | d_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_vector, d_row_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_row_vector, d_int);
transformed_data_real = gumbel_lccdf(d_real_array | d_row_vector, d_real);
transformed_data_real = gumbel_lccdf(d_real_array | d_row_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_real_array | d_row_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_real_array | d_row_vector, d_row_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_int, d_int);
transformed_data_real = gumbel_lccdf(d_vector | d_int, d_real);
transformed_data_real = gumbel_lccdf(d_vector | d_int, d_real_array);
transformed_data_real = gumbel_lccdf(d_vector | d_int, d_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_int, d_row_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_real, d_int);
transformed_data_real = gumbel_lccdf(d_vector | d_real, d_real);
transformed_data_real = gumbel_lccdf(d_vector | d_real, d_real_array);
transformed_data_real = gumbel_lccdf(d_vector | d_real, d_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_real, d_row_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_real_array, d_int);
transformed_data_real = gumbel_lccdf(d_vector | d_real_array, d_real);
transformed_data_real = gumbel_lccdf(d_vector | d_real_array, d_real_array);
transformed_data_real = gumbel_lccdf(d_vector | d_real_array, d_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_real_array, d_row_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_vector, d_int);
transformed_data_real = gumbel_lccdf(d_vector | d_vector, d_real);
transformed_data_real = gumbel_lccdf(d_vector | d_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_vector | d_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_vector, d_row_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_row_vector, d_int);
transformed_data_real = gumbel_lccdf(d_vector | d_row_vector, d_real);
transformed_data_real = gumbel_lccdf(d_vector | d_row_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_vector | d_row_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_vector | d_row_vector, d_row_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_int, d_int);
transformed_data_real = gumbel_lccdf(d_row_vector | d_int, d_real);
transformed_data_real = gumbel_lccdf(d_row_vector | d_int, d_real_array);
transformed_data_real = gumbel_lccdf(d_row_vector | d_int, d_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_int, d_row_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real, d_int);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real, d_real);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real, d_real_array);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real, d_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real, d_row_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real_array, d_int);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real_array, d_real);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real_array, d_real_array);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real_array, d_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_real_array, d_row_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_vector, d_int);
transformed_data_real = gumbel_lccdf(d_row_vector | d_vector, d_real);
transformed_data_real = gumbel_lccdf(d_row_vector | d_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_row_vector | d_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_vector, d_row_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_row_vector, d_int);
transformed_data_real = gumbel_lccdf(d_row_vector | d_row_vector, d_real);
transformed_data_real = gumbel_lccdf(d_row_vector | d_row_vector, d_real_array);
transformed_data_real = gumbel_lccdf(d_row_vector | d_row_vector, d_vector);
transformed_data_real = gumbel_lccdf(d_row_vector | d_row_vector, d_row_vector);
}
parameters {
real p_real;
array[d_int] real p_real_array;
vector[d_int] p_vector;
row_vector[d_int] p_row_vector;
real y_p;
}
transformed parameters {
real transformed_param_real;
transformed_param_real = gumbel_lccdf(d_int | d_int, d_int);
transformed_param_real = gumbel_lccdf(d_int | d_int, d_real);
transformed_param_real = gumbel_lccdf(d_int | d_int, d_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_int, d_vector);
transformed_param_real = gumbel_lccdf(d_int | d_int, d_row_vector);
transformed_param_real = gumbel_lccdf(d_int | d_int, p_real);
transformed_param_real = gumbel_lccdf(d_int | d_int, p_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_int, p_vector);
transformed_param_real = gumbel_lccdf(d_int | d_int, p_row_vector);
transformed_param_real = gumbel_lccdf(d_int | d_real, d_int);
transformed_param_real = gumbel_lccdf(d_int | d_real, d_real);
transformed_param_real = gumbel_lccdf(d_int | d_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_real, d_vector);
transformed_param_real = gumbel_lccdf(d_int | d_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_int | d_real, p_real);
transformed_param_real = gumbel_lccdf(d_int | d_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_real, p_vector);
transformed_param_real = gumbel_lccdf(d_int | d_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_int | d_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_int | d_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_int | d_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_int | d_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_int | d_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_int | d_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_int | d_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_int | d_vector, d_int);
transformed_param_real = gumbel_lccdf(d_int | d_vector, d_real);
transformed_param_real = gumbel_lccdf(d_int | d_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_int | d_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_int | d_vector, p_real);
transformed_param_real = gumbel_lccdf(d_int | d_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_int | d_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_int | d_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_int | d_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_int | d_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_int | d_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_int | d_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_int | d_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_int | d_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_int | d_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_int | p_real, d_int);
transformed_param_real = gumbel_lccdf(d_int | p_real, d_real);
transformed_param_real = gumbel_lccdf(d_int | p_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_int | p_real, d_vector);
transformed_param_real = gumbel_lccdf(d_int | p_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_int | p_real, p_real);
transformed_param_real = gumbel_lccdf(d_int | p_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_int | p_real, p_vector);
transformed_param_real = gumbel_lccdf(d_int | p_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_int | p_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_int | p_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_int | p_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_int | p_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_int | p_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_int | p_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_int | p_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_int | p_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_int | p_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_int | p_vector, d_int);
transformed_param_real = gumbel_lccdf(d_int | p_vector, d_real);
transformed_param_real = gumbel_lccdf(d_int | p_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_int | p_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_int | p_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_int | p_vector, p_real);
transformed_param_real = gumbel_lccdf(d_int | p_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_int | p_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_int | p_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_int | p_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_int | p_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_int | p_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_int | p_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_int | p_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_int | p_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_int | p_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_int | p_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_int | p_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_int, d_int);
transformed_param_real = gumbel_lccdf(d_real | d_int, d_real);
transformed_param_real = gumbel_lccdf(d_real | d_int, d_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_int, d_vector);
transformed_param_real = gumbel_lccdf(d_real | d_int, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_int, p_real);
transformed_param_real = gumbel_lccdf(d_real | d_int, p_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_int, p_vector);
transformed_param_real = gumbel_lccdf(d_real | d_int, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_real, d_int);
transformed_param_real = gumbel_lccdf(d_real | d_real, d_real);
transformed_param_real = gumbel_lccdf(d_real | d_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_real, d_vector);
transformed_param_real = gumbel_lccdf(d_real | d_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_real, p_real);
transformed_param_real = gumbel_lccdf(d_real | d_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_real, p_vector);
transformed_param_real = gumbel_lccdf(d_real | d_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_real | d_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_real | d_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_real | d_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_real | d_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_real | d_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_vector, d_int);
transformed_param_real = gumbel_lccdf(d_real | d_vector, d_real);
transformed_param_real = gumbel_lccdf(d_real | d_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_real | d_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_vector, p_real);
transformed_param_real = gumbel_lccdf(d_real | d_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_real | d_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_real | d_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_real | d_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_real | d_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real | d_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_real | d_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_real | d_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_real | d_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real | p_real, d_int);
transformed_param_real = gumbel_lccdf(d_real | p_real, d_real);
transformed_param_real = gumbel_lccdf(d_real | p_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_real | p_real, d_vector);
transformed_param_real = gumbel_lccdf(d_real | p_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real | p_real, p_real);
transformed_param_real = gumbel_lccdf(d_real | p_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_real | p_real, p_vector);
transformed_param_real = gumbel_lccdf(d_real | p_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real | p_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_real | p_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_real | p_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_real | p_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_real | p_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real | p_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_real | p_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_real | p_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_real | p_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real | p_vector, d_int);
transformed_param_real = gumbel_lccdf(d_real | p_vector, d_real);
transformed_param_real = gumbel_lccdf(d_real | p_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_real | p_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_real | p_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real | p_vector, p_real);
transformed_param_real = gumbel_lccdf(d_real | p_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_real | p_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_real | p_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real | p_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_real | p_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_real | p_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_real | p_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_real | p_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real | p_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_real | p_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_real | p_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_real | p_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_int, d_int);
transformed_param_real = gumbel_lccdf(d_real_array | d_int, d_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_int, d_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_int, d_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_int, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_int, p_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_int, p_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_int, p_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_int, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_real, d_int);
transformed_param_real = gumbel_lccdf(d_real_array | d_real, d_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_real, d_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_real, p_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_real, p_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_real_array | d_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_vector, d_int);
transformed_param_real = gumbel_lccdf(d_real_array | d_vector, d_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_vector, p_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_real_array | d_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_real_array | d_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | d_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_real_array | d_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_real, d_int);
transformed_param_real = gumbel_lccdf(d_real_array | p_real, d_real);
transformed_param_real = gumbel_lccdf(d_real_array | p_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | p_real, d_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_real, p_real);
transformed_param_real = gumbel_lccdf(d_real_array | p_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | p_real, p_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_real_array | p_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_real_array | p_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | p_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_real_array | p_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | p_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_vector, d_int);
transformed_param_real = gumbel_lccdf(d_real_array | p_vector, d_real);
transformed_param_real = gumbel_lccdf(d_real_array | p_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | p_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_vector, p_real);
transformed_param_real = gumbel_lccdf(d_real_array | p_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | p_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_real_array | p_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_real_array | p_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | p_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_real_array | p_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_real_array | p_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_real_array | p_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_int, d_int);
transformed_param_real = gumbel_lccdf(d_vector | d_int, d_real);
transformed_param_real = gumbel_lccdf(d_vector | d_int, d_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_int, d_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_int, d_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_int, p_real);
transformed_param_real = gumbel_lccdf(d_vector | d_int, p_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_int, p_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_int, p_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_real, d_int);
transformed_param_real = gumbel_lccdf(d_vector | d_real, d_real);
transformed_param_real = gumbel_lccdf(d_vector | d_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_real, d_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_real, p_real);
transformed_param_real = gumbel_lccdf(d_vector | d_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_real, p_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_vector | d_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_vector | d_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_vector | d_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_vector, d_int);
transformed_param_real = gumbel_lccdf(d_vector | d_vector, d_real);
transformed_param_real = gumbel_lccdf(d_vector | d_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_vector, p_real);
transformed_param_real = gumbel_lccdf(d_vector | d_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_vector | d_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_vector | d_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_vector | d_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_vector | d_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_vector | d_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_real, d_int);
transformed_param_real = gumbel_lccdf(d_vector | p_real, d_real);
transformed_param_real = gumbel_lccdf(d_vector | p_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_vector | p_real, d_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_real, p_real);
transformed_param_real = gumbel_lccdf(d_vector | p_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_vector | p_real, p_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_vector | p_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_vector | p_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_vector | p_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_vector | p_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_vector | p_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_vector, d_int);
transformed_param_real = gumbel_lccdf(d_vector | p_vector, d_real);
transformed_param_real = gumbel_lccdf(d_vector | p_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_vector | p_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_vector, p_real);
transformed_param_real = gumbel_lccdf(d_vector | p_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_vector | p_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_vector | p_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_vector | p_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_vector | p_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_vector | p_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_vector | p_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_vector | p_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_int, d_int);
transformed_param_real = gumbel_lccdf(d_row_vector | d_int, d_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_int, d_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_int, d_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_int, d_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_int, p_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_int, p_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_int, p_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_int, p_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real, d_int);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real, d_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real, d_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real, p_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real, p_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_vector, d_int);
transformed_param_real = gumbel_lccdf(d_row_vector | d_vector, d_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_vector, p_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_row_vector | d_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_row_vector | d_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | d_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | d_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real, d_int);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real, d_real);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real, d_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real, d_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real, d_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real, p_real);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real, p_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real, p_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real, p_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real_array, d_int);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real_array, d_real);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real_array, d_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real_array, p_real);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real_array, p_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_vector, d_int);
transformed_param_real = gumbel_lccdf(d_row_vector | p_vector, d_real);
transformed_param_real = gumbel_lccdf(d_row_vector | p_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | p_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_vector, p_real);
transformed_param_real = gumbel_lccdf(d_row_vector | p_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | p_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_row_vector, d_int);
transformed_param_real = gumbel_lccdf(d_row_vector | p_row_vector, d_real);
transformed_param_real = gumbel_lccdf(d_row_vector | p_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | p_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_row_vector, p_real);
transformed_param_real = gumbel_lccdf(d_row_vector | p_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(d_row_vector | p_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(d_row_vector | p_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_int, d_int);
transformed_param_real = gumbel_lccdf(p_real | d_int, d_real);
transformed_param_real = gumbel_lccdf(p_real | d_int, d_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_int, d_vector);
transformed_param_real = gumbel_lccdf(p_real | d_int, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_int, p_real);
transformed_param_real = gumbel_lccdf(p_real | d_int, p_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_int, p_vector);
transformed_param_real = gumbel_lccdf(p_real | d_int, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_real, d_int);
transformed_param_real = gumbel_lccdf(p_real | d_real, d_real);
transformed_param_real = gumbel_lccdf(p_real | d_real, d_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_real, d_vector);
transformed_param_real = gumbel_lccdf(p_real | d_real, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_real, p_real);
transformed_param_real = gumbel_lccdf(p_real | d_real, p_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_real, p_vector);
transformed_param_real = gumbel_lccdf(p_real | d_real, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_real_array, d_int);
transformed_param_real = gumbel_lccdf(p_real | d_real_array, d_real);
transformed_param_real = gumbel_lccdf(p_real | d_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_real_array, d_vector);
transformed_param_real = gumbel_lccdf(p_real | d_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_real_array, p_real);
transformed_param_real = gumbel_lccdf(p_real | d_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_real_array, p_vector);
transformed_param_real = gumbel_lccdf(p_real | d_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_vector, d_int);
transformed_param_real = gumbel_lccdf(p_real | d_vector, d_real);
transformed_param_real = gumbel_lccdf(p_real | d_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_real | d_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_vector, p_real);
transformed_param_real = gumbel_lccdf(p_real | d_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_real | d_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_row_vector, d_int);
transformed_param_real = gumbel_lccdf(p_real | d_row_vector, d_real);
transformed_param_real = gumbel_lccdf(p_real | d_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_real | d_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real | d_row_vector, p_real);
transformed_param_real = gumbel_lccdf(p_real | d_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_real | d_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_real | d_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real | p_real, d_int);
transformed_param_real = gumbel_lccdf(p_real | p_real, d_real);
transformed_param_real = gumbel_lccdf(p_real | p_real, d_real_array);
transformed_param_real = gumbel_lccdf(p_real | p_real, d_vector);
transformed_param_real = gumbel_lccdf(p_real | p_real, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real | p_real, p_real);
transformed_param_real = gumbel_lccdf(p_real | p_real, p_real_array);
transformed_param_real = gumbel_lccdf(p_real | p_real, p_vector);
transformed_param_real = gumbel_lccdf(p_real | p_real, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real | p_real_array, d_int);
transformed_param_real = gumbel_lccdf(p_real | p_real_array, d_real);
transformed_param_real = gumbel_lccdf(p_real | p_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(p_real | p_real_array, d_vector);
transformed_param_real = gumbel_lccdf(p_real | p_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real | p_real_array, p_real);
transformed_param_real = gumbel_lccdf(p_real | p_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(p_real | p_real_array, p_vector);
transformed_param_real = gumbel_lccdf(p_real | p_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real | p_vector, d_int);
transformed_param_real = gumbel_lccdf(p_real | p_vector, d_real);
transformed_param_real = gumbel_lccdf(p_real | p_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_real | p_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_real | p_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real | p_vector, p_real);
transformed_param_real = gumbel_lccdf(p_real | p_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_real | p_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_real | p_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real | p_row_vector, d_int);
transformed_param_real = gumbel_lccdf(p_real | p_row_vector, d_real);
transformed_param_real = gumbel_lccdf(p_real | p_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_real | p_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_real | p_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real | p_row_vector, p_real);
transformed_param_real = gumbel_lccdf(p_real | p_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_real | p_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_real | p_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_int, d_int);
transformed_param_real = gumbel_lccdf(p_real_array | d_int, d_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_int, d_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_int, d_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_int, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_int, p_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_int, p_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_int, p_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_int, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_real, d_int);
transformed_param_real = gumbel_lccdf(p_real_array | d_real, d_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_real, d_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_real, d_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_real, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_real, p_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_real, p_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_real, p_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_real, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_real_array, d_int);
transformed_param_real = gumbel_lccdf(p_real_array | d_real_array, d_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_real_array, d_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_real_array, p_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_real_array, p_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_vector, d_int);
transformed_param_real = gumbel_lccdf(p_real_array | d_vector, d_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_vector, p_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_row_vector, d_int);
transformed_param_real = gumbel_lccdf(p_real_array | d_row_vector, d_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_row_vector, p_real);
transformed_param_real = gumbel_lccdf(p_real_array | d_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | d_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_real_array | d_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_real, d_int);
transformed_param_real = gumbel_lccdf(p_real_array | p_real, d_real);
transformed_param_real = gumbel_lccdf(p_real_array | p_real, d_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | p_real, d_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_real, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_real, p_real);
transformed_param_real = gumbel_lccdf(p_real_array | p_real, p_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | p_real, p_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_real, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_real_array, d_int);
transformed_param_real = gumbel_lccdf(p_real_array | p_real_array, d_real);
transformed_param_real = gumbel_lccdf(p_real_array | p_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | p_real_array, d_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_real_array, p_real);
transformed_param_real = gumbel_lccdf(p_real_array | p_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | p_real_array, p_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_vector, d_int);
transformed_param_real = gumbel_lccdf(p_real_array | p_vector, d_real);
transformed_param_real = gumbel_lccdf(p_real_array | p_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | p_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_vector, p_real);
transformed_param_real = gumbel_lccdf(p_real_array | p_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | p_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_row_vector, d_int);
transformed_param_real = gumbel_lccdf(p_real_array | p_row_vector, d_real);
transformed_param_real = gumbel_lccdf(p_real_array | p_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | p_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_row_vector, p_real);
transformed_param_real = gumbel_lccdf(p_real_array | p_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_real_array | p_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_real_array | p_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_int, d_int);
transformed_param_real = gumbel_lccdf(p_vector | d_int, d_real);
transformed_param_real = gumbel_lccdf(p_vector | d_int, d_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_int, d_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_int, d_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_int, p_real);
transformed_param_real = gumbel_lccdf(p_vector | d_int, p_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_int, p_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_int, p_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_real, d_int);
transformed_param_real = gumbel_lccdf(p_vector | d_real, d_real);
transformed_param_real = gumbel_lccdf(p_vector | d_real, d_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_real, d_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_real, d_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_real, p_real);
transformed_param_real = gumbel_lccdf(p_vector | d_real, p_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_real, p_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_real, p_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_real_array, d_int);
transformed_param_real = gumbel_lccdf(p_vector | d_real_array, d_real);
transformed_param_real = gumbel_lccdf(p_vector | d_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_real_array, d_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_real_array, p_real);
transformed_param_real = gumbel_lccdf(p_vector | d_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_real_array, p_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_vector, d_int);
transformed_param_real = gumbel_lccdf(p_vector | d_vector, d_real);
transformed_param_real = gumbel_lccdf(p_vector | d_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_vector, p_real);
transformed_param_real = gumbel_lccdf(p_vector | d_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_row_vector, d_int);
transformed_param_real = gumbel_lccdf(p_vector | d_row_vector, d_real);
transformed_param_real = gumbel_lccdf(p_vector | d_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_row_vector, p_real);
transformed_param_real = gumbel_lccdf(p_vector | d_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_vector | d_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_vector | d_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_real, d_int);
transformed_param_real = gumbel_lccdf(p_vector | p_real, d_real);
transformed_param_real = gumbel_lccdf(p_vector | p_real, d_real_array);
transformed_param_real = gumbel_lccdf(p_vector | p_real, d_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_real, d_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_real, p_real);
transformed_param_real = gumbel_lccdf(p_vector | p_real, p_real_array);
transformed_param_real = gumbel_lccdf(p_vector | p_real, p_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_real, p_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_real_array, d_int);
transformed_param_real = gumbel_lccdf(p_vector | p_real_array, d_real);
transformed_param_real = gumbel_lccdf(p_vector | p_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(p_vector | p_real_array, d_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_real_array, p_real);
transformed_param_real = gumbel_lccdf(p_vector | p_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(p_vector | p_real_array, p_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_vector, d_int);
transformed_param_real = gumbel_lccdf(p_vector | p_vector, d_real);
transformed_param_real = gumbel_lccdf(p_vector | p_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_vector | p_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_vector, p_real);
transformed_param_real = gumbel_lccdf(p_vector | p_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_vector | p_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_row_vector, d_int);
transformed_param_real = gumbel_lccdf(p_vector | p_row_vector, d_real);
transformed_param_real = gumbel_lccdf(p_vector | p_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_vector | p_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_row_vector, p_real);
transformed_param_real = gumbel_lccdf(p_vector | p_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_vector | p_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_vector | p_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_int, d_int);
transformed_param_real = gumbel_lccdf(p_row_vector | d_int, d_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_int, d_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_int, d_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_int, d_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_int, p_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_int, p_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_int, p_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_int, p_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real, d_int);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real, d_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real, d_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real, d_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real, d_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real, p_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real, p_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real, p_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real, p_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real_array, d_int);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real_array, d_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real_array, d_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real_array, p_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real_array, p_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_vector, d_int);
transformed_param_real = gumbel_lccdf(p_row_vector | d_vector, d_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_vector, p_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_row_vector, d_int);
transformed_param_real = gumbel_lccdf(p_row_vector | d_row_vector, d_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_row_vector, p_real);
transformed_param_real = gumbel_lccdf(p_row_vector | d_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | d_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | d_row_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real, d_int);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real, d_real);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real, d_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real, d_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real, d_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real, p_real);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real, p_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real, p_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real, p_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real_array, d_int);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real_array, d_real);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real_array, d_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real_array, d_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real_array, d_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real_array, p_real);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real_array, p_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real_array, p_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_real_array, p_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_vector, d_int);
transformed_param_real = gumbel_lccdf(p_row_vector | p_vector, d_real);
transformed_param_real = gumbel_lccdf(p_row_vector | p_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | p_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_vector, p_real);
transformed_param_real = gumbel_lccdf(p_row_vector | p_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | p_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_vector, p_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_row_vector, d_int);
transformed_param_real = gumbel_lccdf(p_row_vector | p_row_vector, d_real);
transformed_param_real = gumbel_lccdf(p_row_vector | p_row_vector, d_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | p_row_vector, d_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_row_vector, d_row_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_row_vector, p_real);
transformed_param_real = gumbel_lccdf(p_row_vector | p_row_vector, p_real_array);
transformed_param_real = gumbel_lccdf(p_row_vector | p_row_vector, p_vector);
transformed_param_real = gumbel_lccdf(p_row_vector | p_row_vector, p_row_vector);
}
model {
y_p ~ normal(0, 1);
}
|
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<security:csrfMetaTags/>
<title>web-auth user's authorities</title>
<!-- Bootstrap Core CSS -->
<link href="<%=request.getContextPath()%>/frame/bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- MetisMenu CSS -->
<link href="<%=request.getContextPath()%>/frame/bower_components/metisMenu/dist/metisMenu.min.css" rel="stylesheet">
<!-- Timeline CSS -->
<link href="<%=request.getContextPath()%>/frame/dist/css/timeline.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="<%=request.getContextPath()%>/frame/dist/css/sb-admin-2.css" rel="stylesheet">
<!-- Morris Charts CSS -->
<link href="<%=request.getContextPath()%>/frame/bower_components/morrisjs/morris.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="<%=request.getContextPath()%>/frame/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
.node circle {
cursor: pointer;
fill: #fff;
stroke: steelblue;
stroke-width: 2px;
}
.node text {
font-size: 12px;
}
.link {
fill: none;
stroke: #ccc;
stroke-width: 1.5px;
}
</style>
</head>
<body>
<div id="wrapper">
<jsp:include page="menu.jsp"/>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">用户权限树</h1>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12">
<div id="userAuthTree" style="height: auto;">
</div>
</div>
</div>
</div>
</div>
<!-- jQuery -->
<script src="<%=request.getContextPath()%>/frame/bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="<%=request.getContextPath()%>/frame/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- Metis Menu Plugin JavaScript -->
<script src="<%=request.getContextPath()%>/frame/bower_components/metisMenu/dist/metisMenu.min.js"></script>
<!-- Custom Theme JavaScript -->
<script src="<%=request.getContextPath()%>/frame/dist/js/sb-admin-2.js"></script>
<script src="<%=request.getContextPath()%>/js/d3/d3.min.js"></script>
<script>
var width = 700;
var height = 500;
//边界空白
var padding = {left: 80, right:50, top: 20, bottom: 20 };
var svg = d3.select("#userAuthTree")
.append("svg")
.attr("width", width + padding.left + padding.right)
.attr("height", height + padding.top + padding.bottom)
.append("g")
.attr("transform","translate("+ padding.left + "," + padding.top + ")");
//树状图布局
var tree = d3.layout.tree()
.size([height, width]);
//对角线生成器
var diagonal = d3.svg.diagonal()
.projection(function(d) { return [d.y, d.x]; });
d3.json("<%=request.getContextPath()%>/user/authTree.json", function(error, root){
//给第一个节点添加初始坐标x0和x1
root.x0 = height / 2;
root.y0 = 0;
//以第一个节点为起始节点,重绘
redraw(root);
//重绘函数
function redraw(source){
/*
(1) 计算节点和连线的位置
*/
//应用布局,计算节点和连线
var nodes = tree.nodes(root);
var links = tree.links(nodes);
//重新计算节点的y坐标
nodes.forEach(function(d) { d.y = d.depth * 180; });
/*
(2) 节点的处理
*/
//获取节点的update部分
var nodeUpdate = svg.selectAll(".node").data(nodes, function(d){ return d.id; });
//获取节点的enter部分
var nodeEnter = nodeUpdate.enter();
//获取节点的exit部分
var nodeExit = nodeUpdate.exit();
//1. 节点的 Enter 部分的处理办法
var enterNodes = nodeEnter.append("g")
.attr("class","node")
.attr("transform", function(d) { return "translate(" + source.y0 + "," + source.x0 + ")"; })
.on("click", function(d) { toggle(d); redraw(d); });
enterNodes.append("circle")
.attr("r", 0)
.style("fill", function(d) { return d._children ? "lightsteelblue" : "#fff"; });
enterNodes.append("text")
.attr("x", function(d) { return d.children || d._children ? -14 : 14; })
.attr("dy", ".35em")
.attr("text-anchor", function(d) { return d.children || d._children ? "end" : "start"; })
.text(function(d) { return d.name; })
.style("fill-opacity", 0);
//2. 节点的 Update 部分的处理办法
var updateNodes = nodeUpdate.transition()
.duration(500)
.attr("transform", function(d) { return "translate(" + d.y + "," + d.x + ")"; });
updateNodes.select("circle")
.attr("r", 8)
.style("fill", function(d) { return d._children ? "lightsteelblue" : "#fff"; });
updateNodes.select("text")
.style("fill-opacity", 1);
//3. 节点的 Exit 部分的处理办法
var exitNodes = nodeExit.transition()
.duration(500)
.attr("transform", function(d) { return "translate(" + source.y + "," + source.x + ")"; })
.remove();
exitNodes.select("circle")
.attr("r", 0);
exitNodes.select("text")
.style("fill-opacity", 0);
/*
(3) 连线的处理
*/
//获取连线的update部分
var linkUpdate = svg.selectAll(".link")
.data(links, function(d){ return d.target.id; });
//获取连线的enter部分
var linkEnter = linkUpdate.enter();
//获取连线的exit部分
var linkExit = linkUpdate.exit();
//1. 连线的 Enter 部分的处理办法
linkEnter.insert("path",".node")
.attr("class", "link")
.attr("d", function(d) {
var o = {x: source.x0, y: source.y0};
return diagonal({source: o, target: o});
})
.transition()
.duration(500)
.attr("d", diagonal);
//2. 连线的 Update 部分的处理办法
linkUpdate.transition()
.duration(500)
.attr("d", diagonal);
//3. 连线的 Exit 部分的处理办法
linkExit.transition()
.duration(500)
.attr("d", function(d) {
var o = {x: source.x, y: source.y};
return diagonal({source: o, target: o});
})
.remove();
/*
(4) 将当前的节点坐标保存在变量x0、y0里,以备更新时使用
*/
nodes.forEach(function(d) {
d.x0 = d.x;
d.y0 = d.y;
});
}
//切换开关,d 为被点击的节点
function toggle(d){
if(d.children){ //如果有子节点
d._children = d.children; //将该子节点保存到 _children
d.children = null; //将子节点设置为null
}else{ //如果没有子节点
d.children = d._children; //从 _children 取回原来的子节点
d._children = null; //将 _children 设置为 null
}
}
});
</script>
</body>
</html> |
/*
* Copyright 2013-2019, Centre for Genomic Regulation (CRG)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package nextflow.executor
import spock.lang.Specification
import spock.lang.Unroll
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
import nextflow.Session
import nextflow.cloud.aws.batch.AwsOptions
import nextflow.container.ContainerConfig
import nextflow.container.DockerBuilder
import nextflow.container.SingularityBuilder
import nextflow.processor.TaskBean
import nextflow.util.MustacheTemplateEngine
/**
*
* @author Paolo Di Tommaso <[email protected]>
*/
class BashWrapperBuilderTest extends Specification {
def setupSpec() {
new Session()
}
private String load(String name, Map<String,String> binding=[:]) {
def template = new File("src/test/groovy/nextflow/executor/$name").text
return binding ? new MustacheTemplateEngine().render(template, binding) : template
}
private BashWrapperBuilder newBashWrapperBuilder(Map bean=[:]) {
if( !bean.containsKey('workDir') )
bean.workDir = Paths.get('/work/dir')
if( !bean.script )
bean.script = 'echo Hello world!'
new BashWrapperBuilder(bean as TaskBean)
}
def 'test map constructor'() {
given:
def bean = new TaskBean(
input: 'alpha',
scratch: '$var_x',
workDir: Paths.get('a'),
targetDir: Paths.get('b'),
containerImage: 'docker_x',
environment: [a:1, b:2],
script: 'echo ciao',
shell: ['bash','-e']
)
when:
def wrapper = new BashWrapperBuilder(bean)
then:
wrapper.scratch == '$var_x'
wrapper.input == 'alpha'
wrapper.workDir == Paths.get('a')
wrapper.targetDir == Paths.get('b')
wrapper.containerImage == 'docker_x'
wrapper.environment == [a:1, b:2]
wrapper.script == 'echo ciao'
wrapper.shell == ['bash','-e']
}
def 'should create bash launcher files' () {
given:
def folder = Files.createTempDirectory('test')
/*
* simple bash run
*/
when:
newBashWrapperBuilder(
workDir: folder,
script: 'echo Hello world!' ).build()
then:
Files.exists(folder.resolve('.command.sh'))
Files.exists(folder.resolve('.command.run'))
!Files.exists(folder.resolve('.command.in'))
folder.resolve('.command.sh').text ==
'''
#!/bin/bash -ue
echo Hello world!
''' .stripIndent().leftTrim()
folder.resolve('.command.run').text.contains('nxf_main')
!folder.resolve('.command.run').text.contains('nxf_trace')
cleanup:
folder?.deleteDir()
}
def 'should create bash launcher files with trace' () {
given:
def folder = Files.createTempDirectory('test')
/*
* simple bash run
*/
when:
newBashWrapperBuilder(
workDir: folder,
statsEnabled: true ) .build()
then:
Files.exists(folder.resolve('.command.sh'))
Files.exists(folder.resolve('.command.run'))
!Files.exists(folder.resolve('.command.in'))
folder.resolve('.command.sh').text ==
'''
#!/bin/bash -ue
echo Hello world!
'''.stripIndent().leftTrim()
folder.resolve('.command.run').text.contains('nxf_main')
folder.resolve('.command.run').text.contains('nxf_trace')
cleanup:
folder?.deleteDir()
}
def 'should create launcher with input' () {
given:
def folder = Files.createTempDirectory('test')
/*
* simple bash run
*/
when:
newBashWrapperBuilder(
workDir: folder,
input: 'foo bar' ) .build()
then:
Files.exists(folder.resolve('.command.sh'))
Files.exists(folder.resolve('.command.run'))
Files.exists(folder.resolve('.command.in'))
folder.resolve('.command.in').text == 'foo bar'
folder.resolve('.command.sh').text.contains('echo Hello world!')
folder.resolve('.command.run').text.contains('nxf_main')
cleanup:
folder?.deleteDir()
}
def 'should create module command' () {
given:
def wrapper = new BashWrapperBuilder(Mock(TaskBean))
expect:
wrapper.moduleLoad('foo') == 'nxf_module_load foo'
wrapper.moduleLoad('foo/1.2') == 'nxf_module_load foo 1.2'
wrapper.moduleLoad('foo/bar/1.2') == 'nxf_module_load foo/bar 1.2'
wrapper.moduleLoad('foo/bar/') == 'nxf_module_load foo/bar '
}
def 'should create container env' () {
given:
def bash = Spy(BashWrapperBuilder)
when:
def builder = bash.createContainerBuilder(null)
then:
bash.getEnvironment() >> [:]
bash.getBinDir() >> Paths.get('/my/bin')
bash.getWorkDir() >> Paths.get('/my/work/dir')
bash.getStatsEnabled() >> false
bash.getStageInMode() >> 'symlink'
bash.getInputFiles() >> [:]
bash.getContainerConfig() >> [engine: 'singularity', envWhitelist: 'FOO,BAR']
bash.getContainerImage() >> 'foo/bar'
bash.getContainerMount() >> null
bash.getContainerMemory() >> null
bash.getContainerCpuset() >> null
bash.getContainerOptions() >> null
builder instanceof SingularityBuilder
builder.env == ['FOO','BAR']
builder.workDir == Paths.get('/my/work/dir')
}
def 'should add resolved inputs'() {
given:
def bash = Spy(BashWrapperBuilder)
bash.bean = Mock(TaskBean)
bash.getContainerConfig() >> [engine: 'docker']
def BUILDER = Mock(DockerBuilder)
def INPUTS = ['/some/path': Paths.get('/store/path.txt')]
// check input files are mounted in the container
when:
bash.createContainerBuilder(null)
then:
bash.createContainerBuilder0('docker') >> BUILDER
bash.getInputFiles() >> INPUTS
bash.getStageInMode() >> null
1 * BUILDER.addMountForInputs(INPUTS) >> null
// -- do not mount inputs when stage-in-mode == 'copy'
when:
bash.createContainerBuilder(null)
then:
bash.createContainerBuilder0('docker') >> BUILDER
bash.getStageInMode() >> 'copy'
0 * BUILDER.addMountForInputs(_) >> null
}
def 'should render launcher script' () {
given:
def folder = Files.createTempDirectory('test')
/*
* simple bash run
*/
when:
def wrapper = newBashWrapperBuilder(
name: 'Hello 1',
workDir: folder,
headerScript: '#BSUB -x 1\n#BSUB -y 2',
beforeScript: 'echo Before',
condaEnv: Paths.get('/conda/env/path') ) .buildNew0()
then:
wrapper == load('test-bash-wrapper.txt', [folder: folder.toString()])
cleanup:
folder?.deleteDir()
}
def 'should render launcher script with trace' () {
given:
def folder = Files.createTempDirectory('test')
/*
* simple bash run
*/
when:
def wrapper = newBashWrapperBuilder(
name: 'Hello 2',
workDir: folder,
statsEnabled: true ) .buildNew0()
then:
wrapper == load('test-bash-wrapper-with-trace.txt', [folder: folder.toString()])
cleanup:
folder?.deleteDir()
}
@Unroll
def 'test change to scratchDir' () {
setup:
def builder = newBashWrapperBuilder()
when:
builder.scratch = SCRATCH
then:
builder.makeBinding().scratch_cmd == EXPECTED
where:
SCRATCH | EXPECTED
null | "NXF_SCRATCH=''"
true | 'NXF_SCRATCH="$(set +u; nxf_mktemp $TMPDIR)"'
'$SOME_DIR' | 'NXF_SCRATCH="$(set +u; nxf_mktemp $SOME_DIR)"'
'/my/temp' | 'NXF_SCRATCH="$(set +u; nxf_mktemp /my/temp)"'
'ram-disk' | 'NXF_SCRATCH="$(nxf_mktemp /dev/shm)"'
}
def 'should return task name' () {
expect:
newBashWrapperBuilder(name: 'foo').makeBinding().task_name == 'foo'
newBashWrapperBuilder(name: 'bar').makeBinding().task_name == 'bar'
}
def 'should return header directives' () {
when:
def bash = newBashWrapperBuilder()
then:
bash.makeBinding().containsKey('header_script')
bash.makeBinding().header_script == null
when:
bash = newBashWrapperBuilder(headerScript: '#BSUB -x 1\n#BSUB -y 2')
then:
bash.makeBinding().header_script == '#BSUB -x 1\n#BSUB -y 2'
}
def 'should copy control files' () {
when:
def binding = newBashWrapperBuilder(scratch: false).makeBinding()
then:
binding.containsKey('unstage_controls')
binding.unstage_controls == null
when:
binding = newBashWrapperBuilder(scratch: true).makeBinding()
then:
binding.unstage_controls == '''\
cp .command.out /work/dir/.command.out || true
cp .command.err /work/dir/.command.err || true
'''.stripIndent()
when:
binding = newBashWrapperBuilder(scratch: true, statsEnabled: true).makeBinding()
then:
binding.unstage_controls == '''\
cp .command.out /work/dir/.command.out || true
cp .command.err /work/dir/.command.err || true
cp .command.trace /work/dir/.command.trace || true
'''.stripIndent()
}
def 'should stage inputs' () {
given:
def folder = Paths.get('/work/dir')
def inputs = ['sample_1.fq':Paths.get('/some/data/sample_1.fq'), 'sample_2.fq':Paths.get('/some/data/sample_2.fq'), ]
when:
def binding = newBashWrapperBuilder([
workDir: folder,
targetDir: folder,
inputFiles: inputs ]).makeBinding()
then:
binding.stage_inputs == '''\
# stage input files
rm -f sample_1.fq
rm -f sample_2.fq
ln -s /some/data/sample_1.fq sample_1.fq
ln -s /some/data/sample_2.fq sample_2.fq
'''.stripIndent().rightTrim()
}
def 'should unstage outputs' () {
given:
def folder = Paths.get('/work/dir')
def outputs = ['test.bam','test.bai']
when:
def binding = newBashWrapperBuilder([
workDir: folder,
targetDir: folder,
scratch: false,
outputFiles: outputs ]).makeBinding()
then:
binding.containsKey('unstage_outputs')
binding.unstage_outputs == null
when:
binding = newBashWrapperBuilder([
workDir: folder,
targetDir: folder,
scratch: true,
outputFiles: outputs ]).makeBinding()
then:
binding.unstage_outputs == '''\
mkdir -p /work/dir
cp -fRL test.bam /work/dir || true
cp -fRL test.bai /work/dir || true
'''.stripIndent().rightTrim()
when:
binding = newBashWrapperBuilder([
workDir: folder,
targetDir: Paths.get('/another/dir'),
scratch: false,
outputFiles: outputs ]).makeBinding()
then:
binding.unstage_outputs == '''\
mkdir -p /another/dir
mv -f test.bam /another/dir || true
mv -f test.bai /another/dir || true
'''.stripIndent().rightTrim()
}
def 'should create env' () {
when:
def binding = newBashWrapperBuilder().makeBinding()
then:
binding.containsKey('task_env')
binding.containsKey('container_env')
binding.task_env == null
binding.container_env == null
when:
binding = newBashWrapperBuilder(environment: [FOO:'aa', BAR:'bb']).makeBinding()
then:
binding.containsKey('task_env')
binding.containsKey('container_env')
binding.task_env == /\
export FOO="aa"
export BAR="bb"
/.stripIndent()
binding.container_env == null
when:
binding = newBashWrapperBuilder(environment: [FOO:'aa', BAR:'bb'], containerEnabled: true, containerImage: 'foo', containerConfig: [engine: 'docker']).makeBinding()
then:
binding.containsKey('task_env')
binding.containsKey('container_env')
binding.task_env == null
binding.container_env == /\
nxf_container_env() {
cat << EOF
export FOO=\"aa\"
export BAR=\"bb\"
EOF
}
/.stripIndent()
binding.launch_cmd.contains('nxf_container_env')
when:
binding = newBashWrapperBuilder(environment: [FOO:'aa', BAR:'bb'], containerEnabled: true, containerImage: 'foo', containerNative: true).makeBinding()
then:
binding.containsKey('task_env')
binding.containsKey('container_env')
binding.task_env == 'export FOO="aa"\nexport BAR="bb"\n'
binding.container_env == null
!binding.launch_cmd.contains('nxf_container_env')
}
def 'should enable trace feature' () {
when:
def binding = newBashWrapperBuilder(statsEnabled: false).makeBinding()
then:
binding.launch_cmd == '/bin/bash -ue /work/dir/.command.sh'
binding.unstage_controls == null
binding.containsKey('unstage_controls')
when:
binding = newBashWrapperBuilder(statsEnabled: true).makeBinding()
then:
binding.launch_cmd == '/bin/bash /work/dir/.command.run nxf_trace'
binding.unstage_controls == null
binding.containsKey('unstage_controls')
when:
binding = newBashWrapperBuilder(statsEnabled: true, scratch: true).makeBinding()
then:
binding.launch_cmd == '/bin/bash /work/dir/.command.run nxf_trace'
binding.unstage_controls == '''\
cp .command.out /work/dir/.command.out || true
cp .command.err /work/dir/.command.err || true
cp .command.trace /work/dir/.command.trace || true
'''.stripIndent()
}
def 'should create launcher command with input' () {
when:
def binding = newBashWrapperBuilder().makeBinding()
then:
binding.launch_cmd == '/bin/bash -ue /work/dir/.command.sh'
binding.trace_cmd == binding.launch_cmd
when:
binding = newBashWrapperBuilder(input: 'Ciao ciao').makeBinding()
then:
binding.launch_cmd == '/bin/bash -ue /work/dir/.command.sh < /work/dir/.command.in'
binding.trace_cmd == binding.launch_cmd
when:
def PERL = '''
#!/usr/bin/env perl
print "Hello world\n";
'''
binding = newBashWrapperBuilder(input: 'Ciao ciao', script: PERL).makeBinding()
then:
binding.launch_cmd == '/usr/bin/env perl /work/dir/.command.sh < /work/dir/.command.in'
binding.trace_cmd == binding.launch_cmd
}
def 'should create before script' () {
when:
def binding = newBashWrapperBuilder(beforeScript: 'do_this_and_that').makeBinding()
then:
binding.before_script == '''\
# beforeScript directive
do_this_and_that
'''.stripIndent()
when:
binding = newBashWrapperBuilder().makeBinding()
then:
binding.before_script == null
binding.containsKey('before_script')
}
def 'should create module load snippet' () {
when:
def binding = newBashWrapperBuilder().makeBinding()
then:
binding.module_load == null
when:
binding = newBashWrapperBuilder(moduleNames: ['ciao/1', 'mondo/2', 'bioinfo-tools']).makeBinding()
then:
binding.module_load == '''\
nxf_module_load ciao 1
nxf_module_load mondo 2
nxf_module_load bioinfo-tools
'''.stripIndent()
binding.helpers_script == '''\
nxf_module_load(){
local mod=$1
local ver=${2:-}
local new_module="$mod"; [[ $ver ]] && new_module+="/$ver"
if [[ ! $(module list 2>&1 | grep -o "$new_module") ]]; then
old_module=$(module list 2>&1 | grep -Eow "$mod\\/[^\\( \\n]+" || true)
if [[ $ver && $old_module ]]; then
module switch $old_module $new_module
else
module load $new_module
fi
fi
}
'''.stripIndent()
}
def 'should create conda activate snippet' () {
when:
def binding = newBashWrapperBuilder().makeBinding()
then:
binding.conda_activate == null
binding.containsKey('conda_activate')
when:
def CONDA = Paths.get('/some/conda/env/foo')
binding = newBashWrapperBuilder(condaEnv: CONDA).makeBinding()
then:
binding.conda_activate == '''\
# conda environment
conda activate /some/conda/env/foo
'''.stripIndent()
}
def 'should cleanup scratch dir' () {
when:
def binding = newBashWrapperBuilder().makeBinding()
then:
binding.cleanup_cmd == ''
binding.containsKey('cleanup_cmd')
when:
binding = newBashWrapperBuilder(scratch: true).makeBinding()
then:
binding.cleanup_cmd == 'rm -rf $NXF_SCRATCH || true\n'
}
def 'should create wrapper with docker' () {
when:
def binding = newBashWrapperBuilder(
containerImage: 'busybox',
containerEnabled: true,
containerConfig: [engine: 'docker', temp: 'auto', enabled: true] ).makeBinding()
then:
binding.launch_cmd == 'docker run -i -v $(nxf_mktemp):/tmp -v /work/dir:/work/dir -v "$PWD":"$PWD" -w "$PWD" --entrypoint /bin/bash --name $NXF_BOXID busybox -c "/bin/bash -ue /work/dir/.command.sh"'
binding.cleanup_cmd == 'docker rm $NXF_BOXID &>/dev/null || true\n'
binding.kill_cmd == 'docker kill $NXF_BOXID'
}
def 'should create wrapper with docker with sudo' () {
when:
def binding = newBashWrapperBuilder(
containerImage: 'busybox',
containerConfig: [engine: 'docker', sudo: true, enabled: true],
containerEnabled: true ).makeBinding()
then:
binding.launch_cmd == 'sudo docker run -i -v /work/dir:/work/dir -v "$PWD":"$PWD" -w "$PWD" --entrypoint /bin/bash --name $NXF_BOXID busybox -c "/bin/bash -ue /work/dir/.command.sh"'
binding.cleanup_cmd == 'sudo docker rm $NXF_BOXID &>/dev/null || true\n'
binding.kill_cmd == 'sudo docker kill $NXF_BOXID'
}
def 'should create wrapper with docker no kill' () {
when:
def binding = newBashWrapperBuilder(
containerEnabled: true,
containerImage: 'ubuntu',
containerConfig: [engine: 'docker', temp: 'auto', enabled: true, remove:false, kill: false] ).makeBinding()
then:
binding.launch_cmd == 'docker run -i -v $(nxf_mktemp):/tmp -v /work/dir:/work/dir -v "$PWD":"$PWD" -w "$PWD" --entrypoint /bin/bash --name $NXF_BOXID ubuntu -c "/bin/bash -ue /work/dir/.command.sh"'
binding.cleanup_cmd == ""
binding.kill_cmd == null
binding.containsKey('kill_cmd')
}
def 'should create wrapper with docker with custom signal' () {
when:
def binding = newBashWrapperBuilder(
containerEnabled: true,
containerImage: 'ubuntu',
containerConfig: [engine: 'docker', enabled: true, remove:false, kill: 'SIGXXX'] ).makeBinding()
then:
binding.launch_cmd == 'docker run -i -v /work/dir:/work/dir -v "$PWD":"$PWD" -w "$PWD" --entrypoint /bin/bash --name $NXF_BOXID ubuntu -c "/bin/bash -ue /work/dir/.command.sh"'
binding.cleanup_cmd == ""
binding.kill_cmd == 'docker kill -s SIGXXX $NXF_BOXID'
binding.containsKey('kill_cmd')
}
def 'should create wrapper with docker with mount' () {
when:
def binding = newBashWrapperBuilder(
containerEnabled: true,
containerImage: 'busybox',
containerMount: '/folder with blanks' as Path,
containerConfig: [engine: 'docker', enabled: true] ).makeBinding()
then:
binding.launch_cmd == 'docker run -i -v /folder\\ with\\ blanks:/folder\\ with\\ blanks -v /work/dir:/work/dir -v "\$PWD":"\$PWD" -w "\$PWD" --entrypoint /bin/bash --name \$NXF_BOXID busybox -c "/bin/bash -ue /work/dir/.command.sh"'
binding.cleanup_cmd == 'docker rm $NXF_BOXID &>/dev/null || true\n'
binding.kill_cmd == 'docker kill $NXF_BOXID'
}
def 'should create wrapper with docker with scratch' () {
when:
def binding = newBashWrapperBuilder(
scratch: true,
script: 'echo Hello world!',
containerEnabled: true,
containerImage: 'busybox',
containerConfig: [engine: 'docker', sudo: true, enabled: true] ).makeBinding()
then:
binding.launch_cmd == 'sudo docker run -i -v /work/dir:/work/dir -v "$PWD":"$PWD" -w "$PWD" --entrypoint /bin/bash --name $NXF_BOXID busybox -c "/bin/bash -ue /work/dir/.command.sh"'
binding.kill_cmd == 'sudo docker kill $NXF_BOXID'
binding.cleanup_cmd == '''\
(sudo -n true && sudo rm -rf "$NXF_SCRATCH" || rm -rf "$NXF_SCRATCH")&>/dev/null || true
sudo docker rm $NXF_BOXID &>/dev/null || true
'''.stripIndent()
}
def 'should create wrapper with docker container custom options' () {
when:
def binding = newBashWrapperBuilder(
containerEnabled: true,
containerImage: 'busybox',
containerOptions: '-v /foo:/bar',
containerConfig: [engine: 'docker', enabled: true] ).makeBinding()
then:
binding.launch_cmd == 'docker run -i -v /work/dir:/work/dir -v "$PWD":"$PWD" -w "$PWD" --entrypoint /bin/bash -v /foo:/bar --name $NXF_BOXID busybox -c "/bin/bash -ue /work/dir/.command.sh"'
binding.kill_cmd == 'docker kill $NXF_BOXID'
binding.cleanup_cmd == 'docker rm $NXF_BOXID &>/dev/null || true\n'
}
def 'should create wrapper with shifter'() {
when:
def binding = newBashWrapperBuilder(
containerEnabled: true,
containerImage: 'docker:ubuntu:latest',
environment: [PATH: '/path/to/bin:$PATH', FOO: 'xxx'],
containerConfig: [enabled: true, engine: 'shifter'] as ContainerConfig ).makeBinding()
then:
binding.container_helpers.contains('shifter_pull')
binding.launch_cmd == '''\
shifter_pull docker:ubuntu:latest
shifter --image docker:ubuntu:latest /bin/bash -c "eval $(nxf_container_env); /bin/bash -ue /work/dir/.command.sh"
'''.stripIndent().rightTrim()
binding.kill_cmd == null
binding.cleanup_cmd == ""
}
def 'should create task and container env' () {
given:
def ENV = [FOO: 'hello', BAR: 'hello world', PATH: '/some/path:$PATH']
when:
def binding = newBashWrapperBuilder().makeBinding()
then:
binding.task_env == null
binding.container_env == null
when:
binding = newBashWrapperBuilder(environment: ENV).makeBinding()
then:
binding.container_env == null
binding.task_env == '''
export FOO="hello"
export BAR="hello world"
export PATH="/some/path:$PATH"
'''
.stripIndent().leftTrim()
when:
binding = newBashWrapperBuilder(environment: ENV,
containerEnabled: true,
containerImage: 'busybox',
containerConfig: [enabled: true, engine: 'docker']).makeBinding()
then:
binding.task_env == null
binding.container_env == '''
nxf_container_env() {
cat << EOF
export FOO=\\"hello\\"
export BAR=\\"hello world\\"
export PATH=\\"/some/path:\\$PATH\\"
EOF
}
'''
.stripIndent().leftTrim()
}
def 'should include fix ownership command' () {
given:
def bean = Mock(TaskBean)
def copy = Mock(ScriptFileCopyStrategy)
bean.workDir >> Paths.get('/work/dir')
def builder = Spy(BashWrapperBuilder)
builder.bean = bean
builder.copyStrategy = copy
when:
def binding = builder.makeBinding()
then:
builder.fixOwnership() >> true
binding.fix_ownership == '[ ${NXF_OWNER:=\'\'} ] && chown -fR --from root $NXF_OWNER /work/dir/{*,.*} || true'
when:
binding = newBashWrapperBuilder().makeBinding()
then:
binding.fix_ownership == null
binding.containsKey('fix_ownership')
}
def 'should create script command' () {
when:
def binding = newBashWrapperBuilder(afterScript: "cleanup_that" ).makeBinding()
then:
binding.after_script == "# 'afterScript' directive\ncleanup_that"
when:
binding = newBashWrapperBuilder().makeBinding()
then:
binding.after_script == null
binding.containsKey('after_script')
}
def 'should include s3 helpers' () {
given:
def folder = Paths.get('/work/dir')
def target = Mock(Path)
target.toString() >> '/some/bucket'
def bean = new TaskBean([
name: 'Hello 1',
workDir: folder,
targetDir: target,
scratch: true,
outputFiles: ['test.bam','test.bai'],
script: 'echo Hello world!',
])
def copy = Spy(SimpleFileCopyStrategy, constructorArgs:[bean])
copy.getPathScheme(target) >> 's3'
copy.getAwsOptions() >> new AwsOptions()
/*
* simple bash run
*/
when:
def binding = new BashWrapperBuilder(bean,copy).makeBinding()
then:
binding.unstage_outputs == '''\
nxf_s3_upload 'test.bam' s3://some/bucket || true
nxf_s3_upload 'test.bai' s3://some/bucket || true
'''.stripIndent().rightTrim()
binding.helpers_script == '''\
# aws helper
nxf_s3_upload() {
local pattern=$1
local s3path=$2
IFS=$'\\n\'
for name in $(eval "ls -1d $pattern");do
if [[ -d "$name" ]]; then
aws s3 cp --only-show-errors --recursive --storage-class STANDARD "$name" "$s3path/$name"
else
aws s3 cp --only-show-errors --storage-class STANDARD "$name" "$s3path/$name"
fi
done
unset IFS
}
nxf_s3_retry() {
local max_attempts=1
local timeout=10
local attempt=0
local exitCode=0
while (( \$attempt < \$max_attempts ))
do
if "\$@"
then
return 0
else
exitCode=\$?
fi
if [[ \$exitCode == 0 ]]
then
break
fi
sleep \$timeout
attempt=\$(( attempt + 1 ))
timeout=\$(( timeout * 2 ))
done
}
nxf_s3_download() {
local source=$1
local target=$2
local file_name=$(basename $1)
local is_dir=$(aws s3 ls $source | grep -F "PRE ${file_name}/" -c)
if [[ $is_dir == 1 ]]; then
aws s3 cp --only-show-errors --recursive "$source" "$target"
else
aws s3 cp --only-show-errors "$source" "$target"
fi
}
nxf_parallel() {
IFS=$'\\n\'
local cmd=("$@")
local cpus=$(nproc 2>/dev/null || < /proc/cpuinfo grep '^process' -c)
local max=$(if (( cpus>16 )); then echo 16; else echo $cpus; fi)
local i=0
local pid=()
(
set +u
while ((i<${#cmd[@]})); do
local copy=()
for x in "${pid[@]}"; do
[[ -e /proc/$x ]] && copy+=($x)
done
pid=("${copy[@]}")
if ((${#pid[@]}>=$max)); then
sleep 1
else
eval "${cmd[$i]}" &
pid+=($!)
((i+=1))
fi
done
((${#pid[@]}>0)) && wait ${pid[@]}
)
unset IFS
}
'''.stripIndent()
}
}
|
// Copyright 2019-2020 NetEase. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package flow
import (
"runtime"
"sync"
"time"
"github.com/zzxun/netools/timewheel"
"github.com/zzxun/netools/util"
)
// Control of flow to limit requests in a fixed time interval.
type Control interface {
// Do control qps, return a remain qps limit
Do(key string, limit int32) int32
}
type flowControl struct {
// config
interval int64
// singleflight
single map[string]*wait
cmap *util.CMap
remainTLL time.Duration
cleaner *timewheel.SimpleWheel
mu sync.RWMutex
}
// NewFlowControl return a new Control.
func NewFlowControl(size int, interval time.Duration) Control {
f := &flowControl{
interval: int64(interval),
remainTLL: 15 * time.Minute,
single: make(map[string]*wait),
cleaner: timewheel.NewSimpleTimeWheel(time.Second/2, 60, 1),
cmap: util.NewSmallMap(size),
}
f.cleaner.Start()
runtime.SetFinalizer(f.cleaner, (*timewheel.SimpleWheel).Stop)
return f
}
// NewFlowControl return a new Control.
func NewFlowControl2(size int,
interval time.Duration,
cmap *util.CMap,
cleaner *timewheel.SimpleWheel,
) Control {
f := &flowControl{
interval: int64(interval),
remainTLL: 15 * time.Minute,
single: make(map[string]*wait),
cleaner: cleaner,
cmap: cmap,
}
if f.cmap == nil {
f.cmap = util.NewSmallMap(size)
}
if f.cleaner == nil {
f.cleaner = timewheel.NewSimpleTimeWheel(time.Second/2, 60, 1)
f.cleaner.Start()
runtime.SetFinalizer(f.cleaner, (*timewheel.SimpleWheel).Stop)
}
return f
}
// GetLimit of this key
func (f *flowControl) Do(key string, li int32) int32 {
now := time.Now().UnixNano()
it, ok := f.cmap.Get(key)
if ok {
return it.(*limit).doLimit(now, li, f.interval)
}
f.mu.Lock()
if w, ok := f.single[key]; ok {
f.mu.Unlock()
w.wg.Wait()
return w.limit.doLimit(now, li, f.interval)
}
w := new(wait)
w.wg.Add(1)
f.single[key] = w
f.mu.Unlock()
w.limit = newItem(now, key, li)
f.cmap.Add(key, w.limit)
f.cleaner.After(
f.remainTLL, func() {
f.cmap.Remove(key)
},
)
w.wg.Done()
f.mu.Lock()
delete(f.single, key)
f.mu.Unlock()
return w.limit.doLimit(now, li, f.interval)
}
|
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class TempatWisata extends Model
{
use HasFactory;
protected $guarded = [];
protected $with = ['thumbnail', 'city.province'];
public function facilities()
{
return $this->hasMany(Facility::class);
}
public function produks()
{
return $this->hasMany(Produk::class);
}
public function location()
{
return $this->hasOne(Location::class);
}
public function city()
{
return $this->belongsTo(City::class);
}
public function tickets()
{
return $this->hasMany(Ticket::class);
}
public function parkingPrices()
{
return $this->hasMany(ParkingPrice::class);
}
public function media()
{
return $this->hasMany(MediaTempatWisata::class);
}
public function thumbnail()
{
return $this->hasOne(MediaTempatWisata::class)->where('type','image')->orderBy('position');
}
public function video()
{
return $this->hasOne(MediaTempatWisata::class)->where('type', 'video');
}
public function mediaTempatWisatas()
{
return $this->hasMany(MediaTempatWisata::class);
}
public function ulasan()
{
return $this->hasMany(Ulasan::class);
}
public function transactions()
{
return $this->hasMany(Transaction::class);
}
public function pakets()
{
return $this->hasMany(Paket::class);
}
public function additionalNeeds()
{
return $this->hasMany(AdditionalNeed::class);
}
}
|
(***********************************************************************)
(* *)
(* GALAX *)
(* XQuery Engine *)
(* *)
(* Copyright 2001-2007. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: schema_builtin.mli,v 1.18 2007/02/01 22:08:53 simeon Exp $ *)
(* Module: Schema_builtin
Description:
This module implements all the built-in XML Schema types.
*)
open Xquery_common_ast
open Xquery_type_core_ast
(***************************)
(* Built-in content models *)
(***************************)
(* Atomic content *)
val cxtype_int : cxtype
val cxtype_integer : cxtype
val cxtype_string : cxtype
val cxtype_boolean : cxtype
val cxtype_decimal : cxtype
val cxtype_float : cxtype
val cxtype_double : cxtype
val cxtype_duration : cxtype
val cxtype_dateTime : cxtype
val cxtype_time : cxtype
val cxtype_date : cxtype
val cxtype_gYearMonth : cxtype
val cxtype_gYear : cxtype
val cxtype_gMonthDay : cxtype
val cxtype_gDay : cxtype
val cxtype_gMonth : cxtype
val cxtype_hexBinary : cxtype
val cxtype_base64Binary : cxtype
val cxtype_anyURI : cxtype
val cxtype_QName : cxtype
val cxtype_NCName : cxtype
val cxtype_NOTATION : cxtype
val cxtype_yearMonthDuration : cxtype (* xs:yearMonthDuration *)
val cxtype_dayTimeDuration : cxtype (* xs:dayTimeDuration *)
val cxtype_untypedAtomic : cxtype (* xs:untypedAtomic *)
val cxtype_untypedAtomic_optional : cxtype (* xs:untypedAtomic? *)
val cxtype_anyAtomic : cxtype (* xs:anyAtomicType *)
val cxtype_anyAtomic_optional : cxtype (* xs:anyAtomicType? *)
val cxtype_anyAtomic_star : cxtype (* xs:anyAtomicType* *)
val cxtype_anyAtomic_plus : cxtype (* xs:anyAtomicType+ *)
(* Simple content *)
val cxtype_atomic : cxtype (* atomic() *)
val cxtype_atomic_optional : cxtype (* atomic()? *)
val cxtype_atomic_star : cxtype (* atomic()* *)
val cxtype_atomic_plus : cxtype (* atomic()+ *)
val cxtype_numeric : cxtype (* numeric() *)
val cxtype_anystring : cxtype (* anystring() *)
val cxtype_numeric_optional : cxtype (* numeric()? *)
val cxtype_numeric_star : cxtype (* numeric()* *)
val cxtype_numeric_plus : cxtype (* numeric()+ *)
val cxtype_double_optional : cxtype (* xs:double? *)
val cxtype_integer_optional : cxtype (* xs:integer? *)
val cxtype_string_optional : cxtype (* xs:string? *)
val cxtype_greater_than_types : cxtype
(* Types that support greater than: numeric, boolean, string,
yearMonthDuration, dayTimeDuration, dateTime, date, time *)
(* Complex content *)
val cxtype_text : cxtype (* text() *)
val cxtype_text_optional : cxtype (* text()? *)
val cxtype_pi : cxtype (* processing-instruction() *)
val cxtype_pi_name : string -> cxtype (* processing-instruction(name) *)
val cxtype_comment : cxtype (* comment() *)
val cxtype_element : cxtype (* element() *)
val cxtype_element_optional : cxtype (* element()? *)
val cxtype_attribute : cxtype (* attribute() *)
val cxtype_attribute_optional : cxtype (* attribute()? *)
val cxtype_documentnode : cxtype (* document-node() *)
val cxtype_documentnode_optional : cxtype (* document-node()? *)
val cxtype_documentcontent : cxtype (* (element|text|comment|processing-instruction)* *)
val cxtype_computed_qname : cxtype (* (xs:string | xs:QName | xs:untypedAtomic) *)
val cxtype_untyped_element : cxtype (* element of type xs:untyped *)
val cxtype_untyped_attribute : cxtype (* attribute of type xs:untypedAtomic *)
val cxtype_element_node_content : cxtype (* (element|text|comment|processing-instruction)* *)
val cxtype_element_content : cxtype (* attribute *, (element|text|comment|processing-instruction)* *)
val cxtype_element_or_documentnode_optional : cxtype (* (element() | documentnode()) ? *)
val cxtype_node : cxtype (* node() *)
val cxtype_node_optional : cxtype (* node()? *)
val cxtype_node_star : cxtype (* node()* *)
val cxtype_node_plus : cxtype (* node()+ *)
val cxtype_item : cxtype (* item() *)
val cxtype_item_optional : cxtype (* item()? *)
val cxtype_item_star : cxtype (* item()* *)
val cxtype_item_plus : cxtype (* item()+ *)
val cxtype_expanded_anytype : cxtype (* expands_to xs:anyType *)
(********************************************)
(* All built-in declarations and attributes *)
(********************************************)
val built_in_xml_schema_elem_decls : celem_declaration list
val built_in_xml_schema_attr_decls : cattr_declaration list
val built_in_xml_schema_type_decls : ctype_declaration list
val built_in_cxschema : cxschema
val built_in_attributes : cxtype
(* val lookup_builtin_cxtype_expression : cxtype -> Occurrence.occurrence_indicator option -> cxtype *)
|
//
// PPLocalizedString+PPOrderLocalizedString.h
// PatPat
//
// Created by patpat on 15/6/2.
// Copyright (c) 2015年 http://www.patpat.com. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "PPLocalizedString.h"
@interface PPLocalizedString (PPOrderLocalizedString)
/**
* Order 模块
*/
+ (NSString*)ORDERDETAIL_TITLE;
+ (NSString*)ORDERDETAIL_CONFIRMATION;
+ (NSString*)ORDERDETAIL_ORDERCANCELLED;
+ (NSString*)ORDERDETAIL_CANCELTIPS;
+ (NSString*)ORDERDETAIL_ORDERSTATUSINFOONE;
+ (NSString*)ORDERDETAIL_ORDeRSTATUSINFOTWO;
+ (NSString*)ORDERDETAIL_WRITEREVIEW;
+ (NSString*)ORDERDETAIL_POSTAREVIEW;
+ (NSString*)ORDERDETAIL_CONTANCTSUPPORT;
+ (NSString*)ORDERDETAIL_CANCELORDER;
+ (NSString*)ORDERDETAIL_CONFIRMRECEIPTWARNNING;
+ (NSString*)ORDERDETAIL_REQUESTREFUND;
+ (NSString*)ORDERDETAIL_WANTCANCELORDER;
+ (NSString*)ORDERLIST_TITLE;
+ (NSString*)ORDERLIST_PROCESS;
+ (NSString*)POSTREVIEWS;
+ (NSString*)REVIEWED;
+ (NSString*)ORDERLIST_DELIVERED;
+ (NSString*)ORDERTRACKPACKAGE_TITLE;
+ (NSString*)ORDERLIST_NOORDERPROCESS;
+ (NSString*)ORDERLIST_REVIEWANDTRACKORDERS;
+ (NSString*)ORDERLIST_NOORDERDELIVERED;
+ (NSString*)ORDERLIST_REVIEWPASTORDERS;
+ (NSString*)ORDERLIST_STATUS;
+ (NSString*)ORDERRETURN_TITLE;
+ (NSString*)ORDERRETURN_SELECTREASON;
+ (NSString*)ORDERRETURN_INPUTREASON;
+ (NSString*)ORDERRETURNINFO_RETURNPROCESS;
+ (NSString*)ORDERRETURN_REASONONE;
+ (NSString*)ORDERRETURN_REASONTWO;
+ (NSString*)ORDERRETURN_REASONTHREE;
+ (NSString*)ORDERRETURN_REASONFOUR;
+ (NSString*)ORDERRETURN_REASONFIVE;
+ (NSString*)ORDERRETURN_REASONSIX;
+ (NSString*)ORDER_OFPACKAGES;
+ (NSString*)ORDERDETAIL_VIEWMOREPRODUCTS;
+ (NSString*)ORDERDETAIL_VIEWMOREPRODUCTSHIDDEN;
/**
* review 模块
*/
+ (NSString*)REVIEW_WRITEREVIEW;
+ (NSString*)REVIEW_SUGGESTREVIEW;
+ (NSString*)REVIEW_TITLE;
+ (NSString*)PARKTITLE;
+ (NSString*)PARK_ME;
+ (NSString*)LIKEREVIEWSTITLE;
+ (NSString*)REVIEWSTITLE;
+ (NSString*)REVIEWFEED;
+ (NSString*)NOTREPEATLIKEREVIEW;
+ (NSString*)NOTREVIEWORDERS;
+ (NSString*)REVIEW_WRITEPRODUCTREVIEW;
+ (NSString*)REVIEW_WRITEPRODUCTREVIEWTITLE;
+ (NSString*)REVIEW_POSTHEADTITLE;
+ (NSString*)REVIEWEW_POSTLIFETEXT;
+ (NSString*)REVIEW_SETPRODUCTSTAR;
+ (NSString*)REVIEW_PROVIDECONTENT;
+ (NSString*)REVIEW_PROVIDETITLE;
+ (NSString*)COMMENTEMPTYTIPS;
+ (NSString*)LIFEEMPTYTIPS;
+ (NSString*)REVIEWE_CONTENTS;
+ (NSString*)REVIEW_TITLETOOLONGTIPS;
+ (NSString*)REVIEWE_POSTLIFETITLES;
+ (NSString*)REVIEW_ADDPHOTO;
+ (NSString*)REVIEW_APPRECIATED;
+ (NSString*)REVIEW_THANKSREVIEW;
+ (NSString*)REVIEW_CALUTELBLTITLE;
+ (NSString*)REVIEWE_POSTLIFETIPS;
+ (NSString*)REVIEWSINFO;
+ (NSString*)WALLET_TITLE;
+ (NSString*)WALLET_ADDITIONTIPS;
+ (NSString*)WALLET_CASHBACK;
+ (NSString*)WALLET_CURRENTCREDITS;
+ (NSString*)WALLET_EMPTYWALLET;
+ (NSString*)WALLET_PATCODE;
+ (NSString*)WALLETPOINT_HISTORYRECORD;
+ (NSString*)WALLET_PAYWITH;
+ (NSString*)WALLET_TOTAL_1_ITEM;
+ (NSString*)WALLET_TOTAL_ITEMS;
+ (NSString*)WALLET_TRACK;
+ (NSString*)REVIEW_POSTREVIEWS;
+ (NSString*)REVIEWE;
+ (NSString*)REVIEW_VIEWREVIEWS;
+ (NSString*)REVIEW_EMPTYPOSTREVIEW;
+ (NSString*)REVIEW_EMPTYPOSTREVIEWDETAIL;
+ (NSString*)REVIEW_EMPTYREVIEWED;
+ (NSString*)REVIEW_EMPTYREVIEWEDDETAIL;
+ (NSString*)VOUCHER_AVAILABLEEMPTYTITLE;
+ (NSString*)VOUCHER_PROMOCODETITLE;
+ (NSString*)VOUCHER_APPLIEDEMPTYTITLE;
+ (NSString*)VOUCHER_EXPIREDEMPTYTITLE;
+ (NSString*)VOUCHER_EMPTYDETAILTITLE;
+ (NSString*)VOUCHER_UNUSED;
+ (NSString*)VOUCHER_USED;
+ (NSString*)VOUCHER_EXPIRED;
+ (NSString*)CHECKIN_EXCHANGETITLE;
+ (NSString*)POINTS_TITLE;
+ (NSString*)POINTS_DETAILTITLE;
+ (NSString*)PARK_RECOMMEND;
+ (NSString*)PARK_NEW;
+ (NSString*)PARK_FEATURED;
+ (NSString*)PARK_REVIEW;
+ (NSString*)PARK_HOT;
+ (NSString*)PARK_FOLLOWING;
+ (NSString*)PARK_MYPOTS;
+ (NSString*)PARK_MYLIKES;
+ (NSString*)ACTIVITY_FLASHSALE;
+ (NSString*)ORDER_CANCELED;
+ (NSString*)ORDER_ITEMS_CANCELED;
+ (NSString*)ORDER_ITEM_CANCELED;
+ (NSString*)ORDER_REASON_OF_RETURN;
+ (NSString*)ORDER_TOTAL;
+ (NSString*)ORDER_PROMO_CODE;
/**
* confirm 模块
*/
+ (NSString *)CONFIRM_CONTACTTIPS;
+ (NSString *)CONFIRM_ORDERPROCESS;
+ (NSString *)CONFIRM_ORDERTRANSIT;
+ (NSString *)CONFIRM_ORDERNUMBER;
+ (NSString *)CONFIRM_FIRSTORDERTIPS;
+ (NSString *)CONFIRM_EMAILTO;
+ (NSString *)CONFIRM_SHAREANDGET;
/**
* 收集用户评价
*/
+ (NSString *)EVALUATION_SATISFIED;
+ (NSString *)EVALUATION_UNSATISFIED;
+ (NSString *)EVALUATION_TITLE;
+ (NSString *)EVALUATION_SATISFIEDDETAIL;
+ (NSString *)EVALUATION_OKDETAIL;
+ (NSString *)EVALUATION_UNSATISFIEDDETAIL;
+ (NSString *)EVALUATION_REVIEW;
+ (NSString *)EVALUATION_FEEDBACK;
@end
|
;; Simple Math
;; If you are not familiar with polish notation, simple arithmetic might seem confusing.
;; Note: Enter only enough to fill in the blank (in this case, a single number) - do not retype the whole problem.
(def result 4)
;; Tests
(println (= (- 10 (* 2 3)) result)) |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full text of the license may be found at
; http://opensource.org/licenses/bsd-license.php
;
; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
;
; Module Name:
;
; ReadMsr64.Asm
;
; Abstract:
;
; AsmReadMsr64 function
;
; Notes:
;
;------------------------------------------------------------------------------
.586p
.model flat,C
.code
;------------------------------------------------------------------------------
; UINT64
; EFIAPI
; AsmReadMsr64 (
; IN UINT64 Index
; );
;------------------------------------------------------------------------------
AsmReadMsr64 PROC
mov ecx, [esp + 4]
rdmsr
ret
AsmReadMsr64 ENDP
END
|
pragma solidity ^0.5.16;
// Inheritance
import "./Owned.sol";
import "./State.sol";
// https://docs.synthetix.io/contracts/source/contracts/eternalstorage
/**
* @notice This contract is based on the code available from this blog
* https://blog.colony.io/writing-upgradeable-contracts-in-solidity-6743f0eecc88/
* Implements support for storing a keccak256 key and value pairs. It is the more flexible
* and extensible option. This ensures data schema changes can be implemented without
* requiring upgrades to the storage contract.
*/
contract EternalStorage is Owned, State {
constructor(address _owner, address _associatedContract) public Owned(_owner) State(_associatedContract) {}
/* ========== DATA TYPES ========== */
mapping(bytes32 => uint) internal UIntStorage;
mapping(bytes32 => string) internal StringStorage;
mapping(bytes32 => address) internal AddressStorage;
mapping(bytes32 => bytes) internal BytesStorage;
mapping(bytes32 => bytes32) internal Bytes32Storage;
mapping(bytes32 => bool) internal BooleanStorage;
mapping(bytes32 => int) internal IntStorage;
// UIntStorage;
function getUIntValue(bytes32 record) external view returns (uint) {
return UIntStorage[record];
}
function setUIntValue(bytes32 record, uint value) external onlyAssociatedContract {
UIntStorage[record] = value;
}
function deleteUIntValue(bytes32 record) external onlyAssociatedContract {
delete UIntStorage[record];
}
// StringStorage
function getStringValue(bytes32 record) external view returns (string memory) {
return StringStorage[record];
}
function setStringValue(bytes32 record, string calldata value) external onlyAssociatedContract {
StringStorage[record] = value;
}
function deleteStringValue(bytes32 record) external onlyAssociatedContract {
delete StringStorage[record];
}
// AddressStorage
function getAddressValue(bytes32 record) external view returns (address) {
return AddressStorage[record];
}
function setAddressValue(bytes32 record, address value) external onlyAssociatedContract {
AddressStorage[record] = value;
}
function deleteAddressValue(bytes32 record) external onlyAssociatedContract {
delete AddressStorage[record];
}
// BytesStorage
function getBytesValue(bytes32 record) external view returns (bytes memory) {
return BytesStorage[record];
}
function setBytesValue(bytes32 record, bytes calldata value) external onlyAssociatedContract {
BytesStorage[record] = value;
}
function deleteBytesValue(bytes32 record) external onlyAssociatedContract {
delete BytesStorage[record];
}
// Bytes32Storage
function getBytes32Value(bytes32 record) external view returns (bytes32) {
return Bytes32Storage[record];
}
function setBytes32Value(bytes32 record, bytes32 value) external onlyAssociatedContract {
Bytes32Storage[record] = value;
}
function deleteBytes32Value(bytes32 record) external onlyAssociatedContract {
delete Bytes32Storage[record];
}
// BooleanStorage
function getBooleanValue(bytes32 record) external view returns (bool) {
return BooleanStorage[record];
}
function setBooleanValue(bytes32 record, bool value) external onlyAssociatedContract {
BooleanStorage[record] = value;
}
function deleteBooleanValue(bytes32 record) external onlyAssociatedContract {
delete BooleanStorage[record];
}
// IntStorage
function getIntValue(bytes32 record) external view returns (int) {
return IntStorage[record];
}
function setIntValue(bytes32 record, int value) external onlyAssociatedContract {
IntStorage[record] = value;
}
function deleteIntValue(bytes32 record) external onlyAssociatedContract {
delete IntStorage[record];
}
}
|
module CSharpGeneratorTests.SQL.CSharpTypeToSqlTypeTests
open System
open Xunit
open Languages.SQL
open Sql.FromCSharp
[<Theory>]
[<InlineData("foobar")>]
[<InlineData("foobar3")>]
[<InlineData("hello world")>]
[<InlineData("unhandled type")>]
let ``Unhandled types`` str =
let ``exception`` =
Assert.Throws<NotImplementedException>(fun () ->
str
|> toSqlType
|> ignore)
let expected = sprintf "Type '%s' is not supported." str
Assert.Equal(expected, ``exception``.Message)
[<Theory>]
[<InlineData("float?")>]
let ``Float?`` str =
let res = str |> toSqlType
Assert.Equal(Float, res)
[<Theory>]
[<InlineData("System.Double?")>]
[<InlineData("double?")>]
let ``Double?`` str =
let res = str |> toSqlType
Assert.Equal(Float, res)
[<Theory>]
[<InlineData("Guid?")>]
[<InlineData("System.Guid?")>]
let ``Guid?`` str =
let res = str |> toSqlType
Assert.Equal(UniqueIdentifier, res)
[<Theory>]
[<InlineData("int?")>]
[<InlineData("Int32?")>]
[<InlineData("System.Int32?")>]
let ``Int?`` str =
let res = str |> toSqlType
Assert.Equal(Int, res)
[<Theory>]
[<InlineData("bool?")>]
[<InlineData("System.Boolean?")>]
let ``Bool?`` str =
let res = str |> toSqlType
Assert.Equal(Bit, res)
[<Theory>]
[<InlineData("DateTime?")>]
[<InlineData("System.DateTime?")>]
let ``DateTime?`` str =
let res = str |> toSqlType
Assert.Equal(DateTime, res)
[<Theory>]
[<InlineData("float")>]
let Float str =
let res = str |> toSqlType
Assert.Equal(Float, res)
[<Theory>]
[<InlineData("double")>]
[<InlineData("System.Double")>]
[<InlineData("Double")>]
let Double str =
let res = str |> toSqlType
Assert.Equal(Languages.SQL.Float, res)
[<Theory>]
[<InlineData("Guid")>]
[<InlineData("System.Guid")>]
let Guid str =
let res = str |> toSqlType
Assert.Equal(UniqueIdentifier, res)
[<Theory>]
[<InlineData("int")>]
[<InlineData("System.Int32")>]
[<InlineData("Int32")>]
let Int str =
let res = str |> toSqlType
Assert.Equal(Int, res)
[<Theory>]
[<InlineData("bool")>]
[<InlineData("Boolean")>]
[<InlineData("System.Boolean")>]
let Bool str =
let res = str |> toSqlType
Assert.Equal(Bit, res)
[<Theory>]
[<InlineData("DateTime")>]
[<InlineData("System.DateTime")>]
let DateTime str =
let res = str |> toSqlType
Assert.Equal(DateTime, res)
[<Theory>]
[<InlineData("string")>]
[<InlineData("System.String")>]
let String str =
let res =
match str |> toSqlType with
| Nvarchar x -> x
| _ -> raise (Exception())
Assert.Equal(CharArgument.Max, res)
|
(ns pathfinder.present
(:require [clojure.data.json :as json]
[pathfinder.data.data :as data]
[ring.util.response :as response]
[schema.core :as s]))
(def error-result {:msg s/Str})
(def document-stash-result {})
(def search-results {:results [data/doc-schema]
:found s/Int
:time s/Int})
(def document-result {:document s/Str
:time s/Int})
(defn validate [data schema] (s/validate schema data))
;;; TODO: need an index json doc to bootstrap ui from
;;; TODO: we output in latin 1 (on my mac anyway, maybe default
;;; encoding?!). This is added to the content-type presumably by ring?
(defn exception [ex]
(-> {:msg (.getMessage ex)}
(validate error-result)
json/write-str
response/response
(response/status 500)
(response/content-type "application/vnd.pf.error+json; version=1.0")))
(defn document-stash [stash-result]
(-> {}
(validate document-stash-result)
json/write-str
response/response
(response/status 204)
;; TODO: set location header
(response/content-type "application/vnd.pf.stash+json; version=1.0")))
(defn query-results [results]
(-> results
(validate search-results)
json/write-str
response/response
(response/status 200)
(response/content-type "application/vnd.pf.results+json; version=1.0")))
(defn document [document]
(-> document
(validate document-result)
json/write-str
response/response
(response/status 200)
(response/content-type "application/vnd.pf.document+json; version=1.0")))
|
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class InvoiceProductController extends Controller
{
public function index()
{
}
public function store(Request $request)
{
}
public function show($id)
{
}
public function update(Request $request, $id)
{
}
public function destroy($id)
{
}
}
|
/*
* Copyright 2014-2017 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.kotcrab.vis.editor.event;
/**
* @author Kotcrab
*/
public class ToolbarEvent {
public final ToolbarEventType type;
public ToolbarEvent (ToolbarEventType type) {
this.type = type;
}
}
|
module Utils
public export
data Image = mkImage
public export
fetchImage : (url : String) -> (1 _ : ((1 _ : Image) -> Image)) -> Image
fetchImage = believe_me
public export
cropImage : (1 _ : Image) -> Image
cropImage image = image
public export
transposeImage : (1 _ : Image) -> Image
transposeImage image = image
data FileHandle = MkFileHandle
public export
openFile : (1 _ : String) -> IO FileHandle
public export
read : (1 _ : FileHandle) -> IO (LPair String FileHandle)
public export
closeFile : (1 _ : FileHandle) -> IO ()
public export
seq : (1 _ : IO ()) -> IO String -> IO String
public export
utf8Decode : String -> String
public export
myBind : (1 _ : IO a) -> (1 _ : ((1 _ : a) -> IO b)) -> IO b
|
@media(min-width:1400px) and (max-width:1920px) {
.container{
width:100%;
}
}
@media(max-width:1600px) {
.info-office {
padding: 0px;
}
.simple-head .extra-huge-text {
font-size: 100px;
line-height: 80px;
}
.arrival-block .item-name a {
font-size: 20px;
letter-spacing: 1px;
}
}
@media(min-width:1200px) and (max-width:1400px) {
.latest-work .col-4 .item.filter-home {
width: 100%;
}
.arrival-block .item-name a {
font-size: 18px;
letter-spacing: 1px;
}
.arrival-block .item-name {
position: relative;
padding-top: 30px;
}
.arrival-block .item {
min-height: inherit;
}
.latest-work .col-4 .item.filter-home li {
display: inline-block;
width: auto;
}
.latest-work .col-4 .item.filter-home li a {
padding: 0 10px;
margin-top: -2px;
}
.latest-work .position-center-center {
width: 100%;
text-align: center;
}
.latest-work .filter {
min-height: auto;
height: 80px;
}
.fst-up {
margin-top: 0px;
}
}
@media(max-width:1200px) {
.arrival-block .item-name a {
font-size: 16px;
letter-spacing: 1px;
}
.arrival-block .item-name {
position: relative;
padding-top: 30px;
}
.arrival-block .item {
min-height: inherit;
width: 33.3333%;
}
}
@media(max-width:1024px) {
.fst-up {
margin-top: -100px;
}
.sub-space {
padding-left: 0px;
}
}
@media(min-width:992px) and (max-width:1199px) {
.top-info-con ul li {
width: 27%;
}
#content{
width: 100%;
}
.fst-up {
margin-top: 0px;
}
.top-info-con ul li {
float: left;
}
.top-info-con {
width: 67%;
}
header .search-nav ul.dropdown {
width: 100% !important;
}
.header-style-2.header-style-3 .logo {
margin: 20px 0;
width: 100%;
text-align: center;
}
.header-style-2.header-style-3 nav {
margin-top: 20px;
}
.header-style-2.header-style-3 nav {
width: 100%;
}
.promo-block .promo-text {
padding-right: 20px;
}
.contact.style-2 .contact-right {
padding-right: 15px;
padding-left: 15px !important;
}
.services {
padding-left: 0px;
}
.latest-work .col-4 .item.filter-home {
width: 100%;
}
.latest-work .col-4 .item.filter-home li {
display: inline-block;
width: auto;
}
.latest-work .col-4 .item.filter-home li a {
padding: 0 10px;
margin-top: -2px;
}
.latest-work .position-center-center {
width: 100%;
text-align: center;
}
.latest-work .filter {
min-height: auto;
height: 80px;
}
.offer-services li {
width: 33.333%;
}
.offer-services li .position-center-center {
width: 100%;
}
.counter ul li {
width: 50%;
margin-bottom: 30px;
}
.req-quote .col-md-6.pull-right {
width: 100%;
}
.gallery .col-6 li {
width: 33.3333%;
}
.gallery .col-6 li img {
width: 100%;
}
header .navbar li {
margin: 0 5px;
}
}
@media(min-width:768px) and (max-width:991px) {
.top-right ul li {
float: left;
display: inline-block;
margin-left: 10px;
padding-right: 10px;
}
.top-info-con {
width: 100%;
margin-bottom: 20px;
}
.ownmenu ul.dropdown, .ownmenu ul.dropdown li ul.dropdown {
width: 250px !important;
}
.ownmenu ul.dropdown, .ownmenu ul.dropdown li ul.dropdown {
padding: 20px;
}
header .ownmenu ul.dropdown {
padding: 0px;
}
.welcome article {
margin-bottom: 30px;
}
.promos {
text-align: center;
}
.promos .text-right {
text-align: center;
}
.top-info-con ul li {
float: left;
}
.top-info-con ul {
text-align: left;
}
.procsss {
position: relative;
margin-top: 0px;
top: 0px;
}
.procsss .container {
width: 100%;
}
.procsss ul {
padding: 30px 0px;
}
.call-out {
text-align: center;
}
.call-out h4 {
line-height: 40px;
margin-bottom: 20px;
}
.heading {
width: 100%;
}
.what-we-do .rotatebox {
min-height: auto;
line-height: normal;
}
.services .tab-content {
display: inline-block;
width: 100%;
text-align: center;
}
.emergency {
text-align: center;
}
.emergency .text-right {
text-align: center;
}
.news .post-detail article {
margin-bottom: 30px;
}
.latest-work .col-4 .item.filter-home {
width: 100%;
}
.latest-work .col-4 .item.filter-home li {
display: inline-block;
width: auto;
}
.latest-work .col-4 .item.filter-home li a {
padding: 0 10px;
margin-top: -2px;
}
.latest-work .position-center-center {
width: 100%;
text-align: center;
}
.latest-work .col-4 .item {
width: 33.3333%;
}
.team ul li {
width: 50%;
float: left;
margin-bottom: 30px;
}
.clients ul li {
float: left;
width: 33.3333%;
padding: 0px;
}
footer h4 {
display: inline-block;
width: 100%;
margin: 50px 0;
margin-bottom: 20px;
}
.footer-works>.col-md-3 {
float: left;
width: 33.3333%;
margin: 0px;
padding: 10px;
}
.latest-work .filter {
min-height: 80px;
display: inline-block;
width: 100%;
}
.services .nav-tabs {
display: inline-block;
width: 100%;
}
.offer-services li {
width: 33.333%;
}
.offer-services li .position-center-center {
width: 100%;
}
header .search-nav ul.dropdown {
width: 100% !important;
}
header .ownmenu .look-book .nav-img {
width: 70px;
margin-right: 10px;
}
header .ownmenu .look-book .media-heading {
margin-top: 0px;
margin-bottom: 10px;
}
header .ownmenu li > .megamenu li a {
padding: 5px 0
}
header .ownmenu .look-book p {
}
header .ownmenu > li > .megamenu.full-width {
padding: 30px;
}
header .ownmenu .look-book .media-body a {
padding: 5px 0 0 0px;
}
header .ownmenu > li > .megamenu.full-width .nav-post .col-sm-3 {
width: 50%;
}
header .ownmenu .megamenu h6 {
margin-top: 20px;
}
header .ownmenu ul.dropdown li a {
letter-spacing: 1px;
}
.what-we-do .rotatebox {
width: 50%;
float: left;
}
.what-we-do .rotatebox:nth-child(3) {
width: 100%;
}
.services {
padding-left: 0px;
}
.team .social li {
width: auto;
}
.media.padding-right-100 {
padding-right: 0px !important;
}
.testi .owl-nav {
left: 50%;
bottom: -40px;
}
.tab-pane.text-right {
text-align: center;
}
.services .nav-tabs {
text-align: center;
}
.services .nav-tabs li {
float: none;
display: inline-block;
text-align: left;
}
.portfolio.style-2 li.item {
width: 50% !important;
}
.counter ul li {
width: 50%;
margin-bottom: 30px;
}
header .navbar {
width: 100%;
}
.top-bar {
width: 100%;
}
header .quotes a {
margin-right: 0px;
}
.testi-name {
width: 70%;
}
.latest-work .filter {
top: 0px;
position: relative;
margin-bottom: 20px;
min-height: auto;
}
.members li {
width: 50%;
}
.req-quote .col-md-6.pull-right {
width: 100%;
}
.req-quote form {
margin-bottom: 50px;
display: inline-block;
width: 100%;
}
.shipper {
margin-top: 0px;
}
.sub-bnr .position-center-center {
width: 100%;
}
.portfolio-wrapper .items .item {
width: 50%;
}
footer h5 {
display: inline-block;
width: 100%;
margin-top: 30px;
}
footer .text-post {
float: left;
width: auto;
margin-left: 20px;
}
footer .subcribe {
margin-bottom: 0px;
}
.gallery .col-6 li {
width: 33.3333%;
}
.gallery .col-6 li img {
width: 100%;
}
.team .col-md-3 {
width: 50%;
float: left;
margin-bottom: 30px;
}
.foot-info-con li {
width: 50%;
float: left;
margin-bottom: 30px;
}
footer h6 {
display: inline-block;
width: 100%;
margin-top: 30px;
margin-bottom: 10px;
}
.arrival-block .item {
min-height: inherit;
width: 50%;
}
.simple-head{
min-height:1000px;
}
.simple-head .position-center-center{
position:absolute;
}
.header-2 .logo-center{
padding:0px;
}
.header-2 .is-sticky .sticky{
padding:10px 20px;
}
.header-2 .sticky{
padding:10px 20px;
}
.cd-nav-trigger{
left:20px;
}
}
@media(max-width:767px) {
footer h5 {
display: inline-block;
width: 100%;
margin-top: 30px;
}
.cd-nav-trigger{
left:20px;
}
.header-2 .nav-right{
right: 20px;
}
.arrival-block .item {
min-height: inherit;
width: 50%;
}
.navbar-toggle {
margin: 0px;
margin-right: 5px;
}
header .navbar li.active a:before {
bottom: 0px;
top: auto;
}
.navbar-toggle .icon-bar {
height: 40px;
width: 40px;
border: 1px solid rgba(0,0,0,0.1);
display: inline-block;
padding: 10px;
margin: 0px;
border-radius: 4px;
margin: 0px;
line-height: 18px;
background-color: white;
}
.news-letter form {
text-align: center;
}
.news-letter form input {
width: 100%;
}
.news-letter form button {
width: 150px;
float: none;
margin: 0 auto;
margin-top: 10px;
}
header .is-sticky .sticky .nav .dropdown-menu {
margin-top: 0px;
}
.ownmenu .dropdown.megamenu .dropdown-menu h6 {
margin-top: 30px;
display: inline-block;
width: 100%;
}
.ownmenu .dropdown.megamenu .dropdown-menu h5 {
margin-top: 30px;
display: inline-block;
width: 100%;
}
.ownmenu .dropdown.megamenu .dropdown-menu .nav-img {
opacity: 0.5;
margin: 0px;
bottom: 0px;
}
.ownmenu .dropdown.megamenu .dropdown-menu {
padding: 0 30px;
padding-bottom: 30px;
}
header .navbar .nav {
max-height: 400px;
margin-top: 20px;
}
header .user-acc .dropdown-menu {
margin-top: 10px;
}
header .user-basket .dropdown-menu {
margin-top: 10px;
}
header .sticky {
}
.simple-head{
min-height:1000px;
}
.simple-head .position-center-center{
position:absolute;
}
.ownmenu .dropdown.megamenu .media-heading {
margin-top: 10px !important;
}
.ownmenu .dropdown.megamenu {
position: relative !important;
}
.nav-right {
/*position: absolute;
right: 65px;
margin-top: 0px;
top: -8px;*/
}
header .navbar .nav li.dropdown:before {
content: "\f105";
position: absolute;
right: 10px;
font-family: 'FontAwesome';
line-height: 48px;
z-index: 2;
}
.nav-right .dropdown-menu {
right: 0px;
left: auto;
}
header .navbar {
min-height: inherit;
}
.services {
padding-left: 0px;
}
.sub-bnr .position-center-center {
width: 100%;
}
.portfolio-wrapper .items .item {
width: 50%;
}
.top-info-con ul li.fst {
width: 50%;
float: left;
}
.top-info-con ul li {
width: 50%;
float: left;
margin: 0px;
border: none;
}
.top-info-con ul li.lst {
width: 100%;
}
.news .post-detail article {
margin-bottom: 30px;
}
.offer-services li {
width: 50%;
}
.offer-services li .position-center-center {
width: 100%;
}
.tab-pane.text-right {
text-align: center;
}
.media.padding-right-100 {
padding-right: 0px !important;
}
.top-bar {
margin: 0px;
padding: 0px;
}
.top-right ul {
text-align: center;
}
.top-right ul li .media {
text-align: left;
}
header .navbar li a {
}
.top-right ul li {
float: none;
}
header .quotes {
width: 100%;
}
header .quotes a {
width: 100%;
height: 50px;
line-height: 50px;
}
header .navbar li {
margin: 0px;
}
.top-right {
width: 100%;
}
.top-right ul {
width: 100%;
margin-top: 20px;
margin-bottom: 20px;
display: inline-block;
}
.testi .owl-nav {
left: 50%;
bottom: -40px;
}
.sub-bnr h4 {
margin-top: 0px;
}
.sub-bnr {
min-height: 350px
}
footer .text-post {
float: left;
width: auto;
margin-left: 20px;
}
.heading span {
width: 100%;
}
#tabs {
margin-bottom: 30px;
}
.ownmenu {
width: 100%;
}
.ownmenu > li.showhide span.icon {
padding: 0px;
margin: 0px;
}
.top-info-con {
width: 100%;
}
.top-info-con li {
float: left;
padding-bottom: 20px;
}
header .ownmenu:before {
display: none;
}
header .ownmenu:after {
display: none;
}
.is-sticky .sticky {
position: relative !important;
}
header nav {
float: none;
width: 100%;
}
header nav .ownmenu .indicator {
display: block;
}
header nav li a {
display: inline-block;
width: 100%;
float: none;
}
.ownmenu > li.showhide span {
line-height: 50px;
display: inline-block;
width: 100%;
}
.ownmenu > li.showhide {
text-align: center;
color: #fff;
font-size: 20px;
}
.ownmenu > li.showhide span.title {
margin: 0px;
}
.ownmenu > li > a {
padding: 10px 0;
text-align: left;
}
.ownmenu .indicator {
display: block;
}
header .social {
width: 100%;
display: inline-block;
text-align: center;
margin-bottom: 20px;
}
header {
}
.procsss {
position: relative;
margin-top: 0px;
top: 0px;
background: rgba(0,0,0,0.8);
}
.what-we-do .rotatebox {
width: 50%;
float: left;
}
.what-we-do .rotatebox:nth-child(3) {
width: 100%;
}
.procsss ul {
padding: 30px 0px;
}
.procsss .media {
margin-bottom: 30px;
}
.call-out {
text-align: center;
}
.call-out h4 {
line-height: 40px;
margin-bottom: 20px;
}
.heading {
width: 100%;
}
.what-we-do .rotatebox {
min-height: auto;
line-height: normal;
}
.services .tab-content {
display: inline-block;
width: 100%;
text-align: center;
}
.emergency {
text-align: center;
}
.emergency .text-right {
text-align: center;
}
.latest-work .col-4 .item.filter-home {
width: 100%;
}
.latest-work .col-4 .item.filter-home li {
display: inline-block;
width: auto;
}
.latest-work .col-4 .item.filter-home li a {
padding: 0 10px;
margin-top: -2px;
}
.latest-work .position-center-center {
width: 100%;
text-align: center;
}
.latest-work .col-4 .item {
width: 33.3333%;
}
.clients ul li {
float: left;
width: 33.3333%;
padding: 0px;
}
footer h4 {
display: inline-block;
width: 100%;
margin: 50px 0;
margin-bottom: 20px;
}
.footer-works>.col-md-3 {
float: left;
width: 33.3333%;
margin: 0px;
padding: 10px;
}
.latest-work .filter {
min-height: 80px;
display: inline-block;
width: 100%;
}
.services .nav-tabs {
display: inline-block;
width: 100%;
}
.latest-work .col-4 .item {
width: 50%;
}
.port-item img {
width: 100%;
}
.latest-work .filter {
top: 0px;
position: relative;
margin-bottom: 20px;
min-height: auto;
}
.portfolio.style-2 li.item {
width: 50% !important;
}
.feature-item {
padding: 40px !important;
}
.list-style-featured li {
margin-bottom: 10px;
}
.list-style-featured h4 {
margin-top: 15px;
}
.testi {
width: 100%;
}
.sub-footer {
padding: 40px;
}
.ownmenu > li.showhide {
position: absolute;
right: 0px;
top: -50px;
width: auto;
padding: 0 20px;
background: rgba(0,0,0,0.5);
text-align: right;
}
.work-process li {
margin-bottom: 30px;
}
.team article {
margin-bottom: 30px;
text-align: center;
}
header .navbar {
width: 100%;
margin-top: 0px;
}
.navbar-toggle {
display: inline-block;
position: absolute;
top: -3px;
right: 15px;
padding: 0px;
margin: 0px;
}
header .navbar li a:before {
top: auto;
bottom: 0px;
}
header .navbar-collapse {
width: 100%;
margin: 0px;
overflow-y: unset !important;
}
header .container {
padding: 0 15px;
}
header .navbar .nav .dropdown-menu {
position: relative;
}
.ownmenu .nav .dropdown-menu {
margin-top: 0px;
min-width: 100%;
background: rgba(0,0,0,0.1);
}
header .navbar .nav li {
width: 100%;
text-align: left;
}
header .navbar .nav {
width: 100%;
}
.top-bar {
width: 100%;
}
header .quotes a {
margin-right: 0px;
margin-bottom: 20px;
}
.top-info {
display: none;
}
.heading p {
width: 100%;
}
.members li {
width: 50%;
float: left;
}
.welcome .infro-con {
margin-bottom: 30px;
}
.req-quote form {
display: inline-block;
width: 100%;
margin-bottom: 50px;
}
.shipper {
margin-top: 0px;
}
.req-quote .pull-right {
width: 100%;
}
.process li {
width: 50%;
float: left;
margin-bottom: 30px;
}
.team .team-detail {
margin-bottom: 80px;
}
.in-testi {
width: 100%;
}
.fst-up {
margin-top: -100px;
}
.sub-space {
padding-left: 0px;
}
.testimonial {
background-size: cover;
}
.welcome article {
margin-bottom: 30px;
}
.promos {
text-align: center;
}
.promos .text-right {
text-align: center;
}
footer .subcribe {
margin-bottom: 0px;
}
.gallery .col-6 li {
width: 33.3333%;
}
.gallery .col-6 li img {
width: 100%;
}
.team .col-md-3 {
width: 50%;
float: left;
margin-bottom: 30px;
}
.foot-info-con li {
width: 50%;
float: left;
margin-bottom: 30px;
}
footer h6 {
display: inline-block;
width: 100%;
margin-top: 30px;
margin-bottom: 10px;
}
.knowledge-share li {
padding: 0px 20px !important;
}
.knowledge-share li:nth-child(1) {
border-bottom: 1px solid #d1d5db;
padding-bottom: 30px !important;
margin-bottom: 30px;
}
.knowledge-share:before {
display: none;
}
.header-2 .nav-right{
top:auto;
}
.special-offers .extra-huge-text{
font-size:90px;
}
.top-shop-feature img{
max-width:100%;
}
.top-shop-feature article{
margin:0 50px;
}
.header-1 {
background:rgba(0,0,0,0.9);
}
.header-1 .navbar-toggle .icon-bar{
color:#fff;
border:1px solid rgba(255,255,255,0.9);
}
}
@media (max-width:640px) {
.arrival-block .item {
min-height: inherit;
width: 100%;
}
}
@media(max-width:540px) {
.top-shop-feature article{
margin:0 20px;
}
.header-1{
position:relative;
background:rgba(0,0,0,0.9);
}
.header-1 .navbar-toggle .icon-bar{
color:#fff;
border:1px solid rgba(255,255,255,0.5);
}
.header-1 .navbar .nav li.dropdown:before{
color:#fff;
}
.nav-right {
}
header .navbar .nav {
}
.nav-right .dropdown-menu {
right: auto;
left: 0px;
}
.navbar-toggle {
position: relative;
right: 0px;
margin-top: -40px;
}
header .user-acc .dropdown-menu {
margin-top: 4px;
}
header .user-acc .dropdown-menu {
margin-top: 4px;
}
header .user-basket .dropdown-menu {
margin-top: 4px;
}
.navbar-toggle {
top: auto;
}
header .sticky {
padding: 0px;
}
.header-2 .logo-center{
position:relative;
width:100%;
margin-top:0px !important;
}
.header-2 .nav-right{
right:0px;
left:auto;
}
.header-2 .is-sticky .sticky{
padding:0px 0;
width:100%;
}
.header-2 .is-sticky .sticky{
}
.special-offers .extra-huge-text{
font-size:50px;
line-height:50px;
}
.header-2 .nav-right{
top:40px;
}
.cd-nav .position-center-center{
padding:0px;
}
}
@media(max-width:440px) {
header .user-basket .dropdown-menu{
width:100%;
}
header .user-basket .dropdown-menu{
min-width:300px;
}
}
@media(max-width:320px) {
}
@media(max-height: 700px) {
}
|
pragma solidity ^0.4.16;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = newOwner;
}
}
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the strongly suggested default, avoid changing it
uint256 public totalSupply;
// This creates an array with all balances
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
// This generates a public event on the blockchain that will notify clients
event Transfer(address indexed from, address indexed to, uint256 value);
// This notifies clients about the amount burnt
event Burn(address indexed from, uint256 value);
function TokenERC20(
uint256 initialSupply,
string tokenName,
string tokenSymbol
) public {
totalSupply = initialSupply * 10 ** uint256(decimals);
balanceOf[msg.sender] = totalSupply;
name = tokenName;
symbol = tokenSymbol;
}
function _transfer(address _from, address _to, uint _value) internal {
// Prevent transfer to 0x0 address. Use burn() instead
require(_to != 0x0);
// Check if the sender has enough
require(balanceOf[_from] >= _value);
// Check for overflows
require(balanceOf[_to] + _value > balanceOf[_to]);
// Save this for an assertion in the future
uint previousBalances = balanceOf[_from] + balanceOf[_to];
// Subtract from the sender
balanceOf[_from] -= _value;
// Add the same to the recipient
balanceOf[_to] += _value;
emit Transfer(_from, _to, _value);
// Asserts are used to use static analysis to find bugs in your code. They should never fail
assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
}
function transfer(address _to, uint256 _value) public returns (bool success) {
_transfer(msg.sender, _to, _value);
return true;
}
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
require(_value <= allowance[_from][msg.sender]); // Check allowance
allowance[_from][msg.sender] -= _value;
_transfer(_from, _to, _value);
return true;
}
function approve(address _spender, uint256 _value) public
returns (bool success) {
allowance[msg.sender][_spender] = _value;
return true;
}
function approveAndCall(address _spender, uint256 _value, bytes _extraData)
public
returns (bool success) {
tokenRecipient spender = tokenRecipient(_spender);
if (approve(_spender, _value)) {
spender.receiveApproval(msg.sender, _value, this, _extraData);
return true;
}
}
function burn(uint256 _value) public returns (bool success) {
require(balanceOf[msg.sender] >= _value);
balanceOf[msg.sender] -= _value;
totalSupply -= _value;
emit Burn(msg.sender, _value);
return true;
}
function burnFrom(address _from, uint256 _value) public returns (bool success) {
require(balanceOf[_from] >= _value);
require(_value <= allowance[_from][msg.sender]);
balanceOf[_from] -= _value;
allowance[_from][msg.sender] -= _value;
totalSupply -= _value;
emit Burn(_from, _value);
return true;
}
}
contract SEC is owned, TokenERC20 {
mapping (address => bool) public frozenAccount;
event FrozenFunds(address target, bool frozen);
function SEC(
uint256 initialSupply,
string tokenName,
string tokenSymbol
) TokenERC20(initialSupply, tokenName, tokenSymbol) public {}
function _transfer(address _from, address _to, uint _value) internal {
require (_to != 0x0); // Prevent transfer to 0x0 address. Use burn() instead
require (balanceOf[_from] >= _value); // Check if the sender has enough
require (balanceOf[_to] + _value >= balanceOf[_to]); // Check for overflows
require(!frozenAccount[_from]); // Check if sender is frozen
require(!frozenAccount[_to]); // Check if recipient is frozen
balanceOf[_from] -= _value; // Subtract from the sender
balanceOf[_to] += _value; // Add the same to the recipient
emit Transfer(_from, _to, _value);
}
function mintToken(address target, uint256 mintedAmount) onlyOwner public {
balanceOf[target] += mintedAmount;
totalSupply += mintedAmount;
emit Transfer(0, this, mintedAmount);
emit Transfer(this, target, mintedAmount);
}
function freezeAccount(address target, bool freeze) onlyOwner public {
frozenAccount[target] = freeze;
emit FrozenFunds(target, freeze);
}
} |
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
class jtag_agent_cfg extends dv_base_agent_cfg;
// interface handle used by driver, monitor & the sequencer, via cfg handle
virtual jtag_if vif;
// Length of IR register. Update this field based on the actual width used in the design.
uint ir_len = JTAG_IRW;
// JTAG debug transport module (DTM) RAL model based off of RISCV spec 0.13.2 (section 6.1.2).
jtag_dtm_reg_block jtag_dtm_ral;
`uvm_object_utils_begin(jtag_agent_cfg)
`uvm_field_object(jtag_dtm_ral, UVM_DEFAULT)
`uvm_object_utils_end
function new (string name = "");
super.new(name);
// Create the JTAG DTM RAL.
jtag_dtm_ral = jtag_dtm_reg_block::type_id::create("jtag_dtm_ral");
jtag_dtm_ral.build(.base_addr(0), .csr_excl(null));
jtag_dtm_ral.set_support_byte_enable(1'b0);
jtag_dtm_ral.lock_model();
jtag_dtm_ral.compute_mapped_addr_ranges();
jtag_dtm_ral.compute_unmapped_addr_ranges();
// TODO: fix the computation of mapped and unmapped ranges.
endfunction : new
endclass
|
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class InfoAlumnoDoc extends Model
{
use HasFactory;
}
|
namespace cpp Ruyi.SDK.CommonType
namespace csharp Ruyi.SDK.CommonType
namespace java Ruyi.SDK.CommonType
namespace netcore Ruyi.SDK.CommonType
namespace rs Ruyi.SDK.CommonType
typedef string JSON
enum LoginState {
/** Logout state */
Logout = 0,
/** Login state */
Login = 1,
}
enum NotificationType {
Battery = 0,
Interactive = 1,
Voice = 2,
GameInfo = 3,
ScreenshotInfo = 4,
}
enum InputCategory {
GamePad = 0,
Keyboard = 1,
Mouse = 2,
JoyStick = 3,
MaxCount = 4,
}
enum RuyiGamePadButtonFlags {
GamePad_Up = 1,
GamePad_Down = 2,
GamePad_Left = 4,
GamePad_Right = 8,
GamePad_Start = 16,
GamePad_Back = 32,
GamePad_L3 = 64,
GamePad_R3 = 128,
GamePad_LB = 256,
GamePad_RB = 512,
GamePad_A = 4096,
GamePad_B = 8192,
GamePad_X = 16384,
GamePad_Y = 32768,
GamePad_LT = 131072,
GamePad_RT = 262144,
GamePad_LJoyX = 524288,
GamePad_LJoyY = 1048576,
GamePad_RJoyX = 2097152,
GamePad_RJoyY = 4194304,
}
enum ePlatform {
None = 0,
PC = 1,
Console = 2,
All = 3,
}
enum eUIType {
None = 0,
Toggle = 1,
Text = 2,
Slider = 3,
CheckList = 4,
OptionList = 5,
DateTime = 6,
TextInput = 7,
}
exception ErrorException {
1: i32 errId,
2: string errMsg,
}
struct range {
1: double minimum,
2: double maximum,
}
struct InputModifier {
1: optional range DeadZone,
2: double Scale,
}
struct ActionTrigger {
1: i32 Id,
2: InputCategory InputCagetory,
3: list<i32> TriggerButtons,
4: list<i32> TriggerValue,
}
struct notification {
1: string title,
2: string detail,
3: list<string> option,
}
struct dataListItem {
1: string elementType,
2: list<string> values,
3: notification removeNotification,
}
struct activeDependency {
1: string name,
2: string condition,
}
struct SettingValue {
1: string dataType,
2: string dataValue,
}
struct SettingItem {
1: string id,
2: string display,
3: string dataType,
4: string dataValue,
5: optional dataListItem dataList,
6: optional ePlatform platform,
7: optional string summary,
8: optional string description,
9: optional eUIType UIType,
10: optional bool devModeOnly,
11: optional bool internalOnly,
12: optional bool readOnly,
13: bool isValid,
14: bool isActive,
15: optional string validation,
16: optional list<activeDependency> activeDependencies,
17: optional string ActionName,
18: optional string ActionObject,
19: optional string ActionOnSetValue,
20: optional string ActionOnGetValue,
}
struct SettingCategory {
1: string id,
2: string display,
3: optional string summary,
4: optional string description,
5: string icon,
6: i32 sortingPriority,
7: bool isSystemCategory,
8: map<string, i32> items,
9: bool enable,
10: bool showInUI,
11: string script,
}
struct ModuleBaseInfo {
1: string name,
2: string version,
3: i32 configHash,
}
struct ModuleSetting {
1: ModuleBaseInfo baseInfo,
2: list<SettingItem> settings,
3: list<SettingCategory> categories,
}
struct AppDataRecord {
/** The record ID */
1: string id,
/** The record value */
2: SettingValue content,
}
struct AppDataCollection {
/** The category of the records */
1: string category,
/** The records of the collection. See AppDataRecord */
2: list<AppDataRecord> records,
}
struct AppData {
/** The App ID */
1: string appId,
/** The user data of the App. See AppDataCollection */
2: list<AppDataCollection> data,
}
struct PopupNotification {
1: NotificationType NotificationType,
2: string MainIcon,
3: string Text,
4: string Description,
}
struct EventNotification {
1: string key,
2: JSON contents = "{}",
}
|
defmodule Radiator.Repo.Migrations.AddPermTables do
use Ecto.Migration
def up do
create table(:networks_perm, primary_key: false) do
add :user_id, references("auth_users", on_delete: :delete_all), primary_key: true
add :subject_id, references("networks", on_delete: :delete_all), primary_key: true
add :permission, :string, size: 16, null: false
timestamps()
end
create table(:podcasts_perm, primary_key: false) do
add :user_id, references("auth_users", on_delete: :delete_all), primary_key: true
add :subject_id, references("podcasts", on_delete: :delete_all), primary_key: true
add :permission, :string, size: 16, null: false
timestamps()
end
create table(:episodes_perm, primary_key: false) do
add :user_id, references("auth_users", on_delete: :delete_all), primary_key: true
add :subject_id, references("episodes", on_delete: :delete_all), primary_key: true
add :permission, :string, size: 16, null: false
timestamps()
end
flush()
Radiator.Repo.insert(Radiator.Auth.User.reserved_user(:public))
end
def down do
drop table(:episodes_perm)
drop table(:podcasts_perm)
drop table(:networks_perm)
Radiator.Repo.delete(Radiator.Auth.User.reserved_user(:public))
end
end
|
/**
* Adyen HPP
* Hosted Payment Pages
*
* OpenAPI spec version: 1
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.2.3
*
* Do not edit the class manually.
*
*/
(function(factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['ApiClient', 'model/AuthResultType', 'model/DirectoryRequest', 'model/DirectoryResponse', 'model/Error', 'model/ErrorType', 'model/IssuersType', 'model/PaymentMethodsType', 'model/PaymentRequest', 'model/PaymentResponse', 'model/RecurringContractType', 'model/SkipDetailsRequest', 'model/SkipDetailsResponse', 'api/DirectoryApi', 'api/PayApi', 'api/SelectApi', 'api/SkipDetailsApi'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('./ApiClient'), require('./model/AuthResultType'), require('./model/DirectoryRequest'), require('./model/DirectoryResponse'), require('./model/Error'), require('./model/ErrorType'), require('./model/IssuersType'), require('./model/PaymentMethodsType'), require('./model/PaymentRequest'), require('./model/PaymentResponse'), require('./model/RecurringContractType'), require('./model/SkipDetailsRequest'), require('./model/SkipDetailsResponse'), require('./api/DirectoryApi'), require('./api/PayApi'), require('./api/SelectApi'), require('./api/SkipDetailsApi'));
}
}(function(ApiClient, AuthResultType, DirectoryRequest, DirectoryResponse, Error, ErrorType, IssuersType, PaymentMethodsType, PaymentRequest, PaymentResponse, RecurringContractType, SkipDetailsRequest, SkipDetailsResponse, DirectoryApi, PayApi, SelectApi, SkipDetailsApi) {
'use strict';
/**
* Hosted_Payment_Pages.<br>
* The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
* <p>
* An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:
* <pre>
* var AdyenHppJs = require('index'); // See note below*.
* var xxxSvc = new AdyenHppJs.XxxApi(); // Allocate the API class we're going to use.
* var yyyModel = new AdyenHppJs.Yyy(); // Construct a model instance.
* yyyModel.someProperty = 'someValue';
* ...
* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
* ...
* </pre>
* <em>*NOTE: For a top-level AMD script, use require(['index'], function(){...})
* and put the application logic within the callback function.</em>
* </p>
* <p>
* A non-AMD browser application (discouraged) might do something like this:
* <pre>
* var xxxSvc = new AdyenHppJs.XxxApi(); // Allocate the API class we're going to use.
* var yyy = new AdyenHppJs.Yyy(); // Construct a model instance.
* yyyModel.someProperty = 'someValue';
* ...
* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
* ...
* </pre>
* </p>
* @module index
* @version 1.1.0
*/
var exports = {
/**
* The ApiClient constructor.
* @property {module:ApiClient}
*/
ApiClient: ApiClient,
/**
* The AuthResultType model constructor.
* @property {module:model/AuthResultType}
*/
AuthResultType: AuthResultType,
/**
* The DirectoryRequest model constructor.
* @property {module:model/DirectoryRequest}
*/
DirectoryRequest: DirectoryRequest,
/**
* The DirectoryResponse model constructor.
* @property {module:model/DirectoryResponse}
*/
DirectoryResponse: DirectoryResponse,
/**
* The Error model constructor.
* @property {module:model/Error}
*/
Error: Error,
/**
* The ErrorType model constructor.
* @property {module:model/ErrorType}
*/
ErrorType: ErrorType,
/**
* The IssuersType model constructor.
* @property {module:model/IssuersType}
*/
IssuersType: IssuersType,
/**
* The PaymentMethodsType model constructor.
* @property {module:model/PaymentMethodsType}
*/
PaymentMethodsType: PaymentMethodsType,
/**
* The PaymentRequest model constructor.
* @property {module:model/PaymentRequest}
*/
PaymentRequest: PaymentRequest,
/**
* The PaymentResponse model constructor.
* @property {module:model/PaymentResponse}
*/
PaymentResponse: PaymentResponse,
/**
* The RecurringContractType model constructor.
* @property {module:model/RecurringContractType}
*/
RecurringContractType: RecurringContractType,
/**
* The SkipDetailsRequest model constructor.
* @property {module:model/SkipDetailsRequest}
*/
SkipDetailsRequest: SkipDetailsRequest,
/**
* The SkipDetailsResponse model constructor.
* @property {module:model/SkipDetailsResponse}
*/
SkipDetailsResponse: SkipDetailsResponse,
/**
* The DirectoryApi service constructor.
* @property {module:api/DirectoryApi}
*/
DirectoryApi: DirectoryApi,
/**
* The PayApi service constructor.
* @property {module:api/PayApi}
*/
PayApi: PayApi,
/**
* The SelectApi service constructor.
* @property {module:api/SelectApi}
*/
SelectApi: SelectApi,
/**
* The SkipDetailsApi service constructor.
* @property {module:api/SkipDetailsApi}
*/
SkipDetailsApi: SkipDetailsApi
};
return exports;
}));
|
/*******************************************************************
* SD_SID_2008_DX_PR_GRPS.SAS:
* THE SAS CODE SHOWN BELOW WILL LOAD THE ASCII
* INPATIENT STAY DX_PR_GRPS FILE INTO SAS
*******************************************************************/
***********************************************;
* Create SAS informats for missing values ;
***********************************************;
PROC FORMAT;
INVALUE N2PF
'-9' = .
'-8' = .A
'-6' = .C
'-5' = .N
OTHER = (|2.|)
;
INVALUE N3PF
'-99' = .
'-88' = .A
'-66' = .C
OTHER = (|3.|)
;
INVALUE N4PF
'-999' = .
'-888' = .A
'-666' = .C
OTHER = (|4.|)
;
INVALUE N4P1F
'-9.9' = .
'-8.8' = .A
'-6.6' = .C
OTHER = (|4.1|)
;
INVALUE N5PF
'-9999' = .
'-8888' = .A
'-6666' = .C
OTHER = (|5.|)
;
INVALUE N5P2F
'-9.99' = .
'-8.88' = .A
'-6.66' = .C
OTHER = (|5.2|)
;
INVALUE N6PF
'-99999' = .
'-88888' = .A
'-66666' = .C
OTHER = (|6.|)
;
INVALUE N6P2F
'-99.99' = .
'-88.88' = .A
'-66.66' = .C
OTHER = (|6.2|)
;
INVALUE N7P2F
'-999.99' = .
'-888.88' = .A
'-666.66' = .C
OTHER = (|7.2|)
;
INVALUE N7P4F
'-9.9999' = .
'-8.8888' = .A
'-6.6666' = .C
OTHER = (|7.4|)
;
INVALUE N8PF
'-9999999' = .
'-8888888' = .A
'-6666666' = .C
OTHER = (|8.|)
;
INVALUE N8P2F
'-9999.99' = .
'-8888.88' = .A
'-6666.66' = .C
OTHER = (|8.2|)
;
INVALUE N9PF
'-99999999' = .
'-88888888' = .A
'-66666666' = .C
OTHER = (|9.|)
;
INVALUE N9P2F
'-99999.99' = .
'-88888.88' = .A
'-66666.66' = .C
OTHER = (|9.2|)
;
INVALUE N10PF
'-999999999' = .
'-888888888' = .A
'-666666666' = .C
OTHER = (|10.|)
;
INVALUE N10P4F
'-9999.9999' = .
'-8888.8888' = .A
'-6666.6666' = .C
OTHER = (|10.4|)
;
INVALUE N10P5F
'-999.99999' = .
'-888.88888' = .A
'-666.66666' = .C
OTHER = (|10.5|)
;
INVALUE DATE10F
'-999999999' = .
'-888888888' = .A
'-666666666' = .C
OTHER = (|MMDDYY10.|)
;
INVALUE N11PF
'-9999999999' = .
'-8888888888' = .A
'-6666666666' = .C
OTHER = (|11.|)
;
INVALUE N12P2F
'-99999999.99' = .
'-88888888.88' = .A
'-66666666.66' = .C
OTHER = (|12.2|)
;
INVALUE N12P5F
'-99999.99999' = .
'-88888.88888' = .A
'-66666.66666' = .C
OTHER = (|12.5|)
;
INVALUE N13PF
'-999999999999' = .
'-888888888888' = .A
'-666666666666' = .C
OTHER = (|13.|)
;
INVALUE N15P2F
'-99999999999.99' = .
'-88888888888.88' = .A
'-66666666666.66' = .C
OTHER = (|15.2|)
;
RUN;
*******************************;
* Data Step *;
*******************************;
DATA SD_SIDC_2008_DX_PR_GRPS;
INFILE 'SD_SID_2008_DX_PR_GRPS.ASC' LRECL = 1455;
*** Variable attribute ***;
ATTRIB
CHRON1 LENGTH=3
LABEL="Chronic condition indicator 1"
CHRON2 LENGTH=3
LABEL="Chronic condition indicator 2"
CHRON3 LENGTH=3
LABEL="Chronic condition indicator 3"
CHRON4 LENGTH=3
LABEL="Chronic condition indicator 4"
CHRON5 LENGTH=3
LABEL="Chronic condition indicator 5"
CHRON6 LENGTH=3
LABEL="Chronic condition indicator 6"
CHRON7 LENGTH=3
LABEL="Chronic condition indicator 7"
CHRON8 LENGTH=3
LABEL="Chronic condition indicator 8"
CHRON9 LENGTH=3
LABEL="Chronic condition indicator 9"
CHRON10 LENGTH=3
LABEL="Chronic condition indicator 10"
CHRON11 LENGTH=3
LABEL="Chronic condition indicator 11"
CHRON12 LENGTH=3
LABEL="Chronic condition indicator 12"
CHRON13 LENGTH=3
LABEL="Chronic condition indicator 13"
CHRON14 LENGTH=3
LABEL="Chronic condition indicator 14"
CHRON15 LENGTH=3
LABEL="Chronic condition indicator 15"
CHRON16 LENGTH=3
LABEL="Chronic condition indicator 16"
CHRON17 LENGTH=3
LABEL="Chronic condition indicator 17"
CHRON18 LENGTH=3
LABEL="Chronic condition indicator 18"
CHRON19 LENGTH=3
LABEL="Chronic condition indicator 19"
CHRON20 LENGTH=3
LABEL="Chronic condition indicator 20"
CHRON21 LENGTH=3
LABEL="Chronic condition indicator 21"
CHRON22 LENGTH=3
LABEL="Chronic condition indicator 22"
CHRON23 LENGTH=3
LABEL="Chronic condition indicator 23"
CHRON24 LENGTH=3
LABEL="Chronic condition indicator 24"
CHRON25 LENGTH=3
LABEL="Chronic condition indicator 25"
CHRON26 LENGTH=3
LABEL="Chronic condition indicator 26"
CHRON27 LENGTH=3
LABEL="Chronic condition indicator 27"
CHRON28 LENGTH=3
LABEL="Chronic condition indicator 28"
CHRON29 LENGTH=3
LABEL="Chronic condition indicator 29"
CHRON30 LENGTH=3
LABEL="Chronic condition indicator 30"
CHRON31 LENGTH=3
LABEL="Chronic condition indicator 31"
CHRON32 LENGTH=3
LABEL="Chronic condition indicator 32"
CHRON33 LENGTH=3
LABEL="Chronic condition indicator 33"
CHRON34 LENGTH=3
LABEL="Chronic condition indicator 34"
CHRON35 LENGTH=3
LABEL="Chronic condition indicator 35"
CHRON36 LENGTH=3
LABEL="Chronic condition indicator 36"
CHRON37 LENGTH=3
LABEL="Chronic condition indicator 37"
CHRON38 LENGTH=3
LABEL="Chronic condition indicator 38"
CHRON39 LENGTH=3
LABEL="Chronic condition indicator 39"
CHRON40 LENGTH=3
LABEL="Chronic condition indicator 40"
CHRON41 LENGTH=3
LABEL="Chronic condition indicator 41"
CHRON42 LENGTH=3
LABEL="Chronic condition indicator 42"
CHRON43 LENGTH=3
LABEL="Chronic condition indicator 43"
CHRON44 LENGTH=3
LABEL="Chronic condition indicator 44"
CHRON45 LENGTH=3
LABEL="Chronic condition indicator 45"
CHRON46 LENGTH=3
LABEL="Chronic condition indicator 46"
CHRON47 LENGTH=3
LABEL="Chronic condition indicator 47"
CHRON48 LENGTH=3
LABEL="Chronic condition indicator 48"
CHRON49 LENGTH=3
LABEL="Chronic condition indicator 49"
CHRON50 LENGTH=3
LABEL="Chronic condition indicator 50"
CHRON51 LENGTH=3
LABEL="Chronic condition indicator 51"
CHRON52 LENGTH=3
LABEL="Chronic condition indicator 52"
CHRON53 LENGTH=3
LABEL="Chronic condition indicator 53"
CHRON54 LENGTH=3
LABEL="Chronic condition indicator 54"
CHRON55 LENGTH=3
LABEL="Chronic condition indicator 55"
CHRON56 LENGTH=3
LABEL="Chronic condition indicator 56"
CHRON57 LENGTH=3
LABEL="Chronic condition indicator 57"
CHRON58 LENGTH=3
LABEL="Chronic condition indicator 58"
CHRON59 LENGTH=3
LABEL="Chronic condition indicator 59"
CHRON60 LENGTH=3
LABEL="Chronic condition indicator 60"
CHRON61 LENGTH=3
LABEL="Chronic condition indicator 61"
CHRONB1 LENGTH=3
LABEL="Chronic condition body system 1"
CHRONB2 LENGTH=3
LABEL="Chronic condition body system 2"
CHRONB3 LENGTH=3
LABEL="Chronic condition body system 3"
CHRONB4 LENGTH=3
LABEL="Chronic condition body system 4"
CHRONB5 LENGTH=3
LABEL="Chronic condition body system 5"
CHRONB6 LENGTH=3
LABEL="Chronic condition body system 6"
CHRONB7 LENGTH=3
LABEL="Chronic condition body system 7"
CHRONB8 LENGTH=3
LABEL="Chronic condition body system 8"
CHRONB9 LENGTH=3
LABEL="Chronic condition body system 9"
CHRONB10 LENGTH=3
LABEL="Chronic condition body system 10"
CHRONB11 LENGTH=3
LABEL="Chronic condition body system 11"
CHRONB12 LENGTH=3
LABEL="Chronic condition body system 12"
CHRONB13 LENGTH=3
LABEL="Chronic condition body system 13"
CHRONB14 LENGTH=3
LABEL="Chronic condition body system 14"
CHRONB15 LENGTH=3
LABEL="Chronic condition body system 15"
CHRONB16 LENGTH=3
LABEL="Chronic condition body system 16"
CHRONB17 LENGTH=3
LABEL="Chronic condition body system 17"
CHRONB18 LENGTH=3
LABEL="Chronic condition body system 18"
CHRONB19 LENGTH=3
LABEL="Chronic condition body system 19"
CHRONB20 LENGTH=3
LABEL="Chronic condition body system 20"
CHRONB21 LENGTH=3
LABEL="Chronic condition body system 21"
CHRONB22 LENGTH=3
LABEL="Chronic condition body system 22"
CHRONB23 LENGTH=3
LABEL="Chronic condition body system 23"
CHRONB24 LENGTH=3
LABEL="Chronic condition body system 24"
CHRONB25 LENGTH=3
LABEL="Chronic condition body system 25"
CHRONB26 LENGTH=3
LABEL="Chronic condition body system 26"
CHRONB27 LENGTH=3
LABEL="Chronic condition body system 27"
CHRONB28 LENGTH=3
LABEL="Chronic condition body system 28"
CHRONB29 LENGTH=3
LABEL="Chronic condition body system 29"
CHRONB30 LENGTH=3
LABEL="Chronic condition body system 30"
CHRONB31 LENGTH=3
LABEL="Chronic condition body system 31"
CHRONB32 LENGTH=3
LABEL="Chronic condition body system 32"
CHRONB33 LENGTH=3
LABEL="Chronic condition body system 33"
CHRONB34 LENGTH=3
LABEL="Chronic condition body system 34"
CHRONB35 LENGTH=3
LABEL="Chronic condition body system 35"
CHRONB36 LENGTH=3
LABEL="Chronic condition body system 36"
CHRONB37 LENGTH=3
LABEL="Chronic condition body system 37"
CHRONB38 LENGTH=3
LABEL="Chronic condition body system 38"
CHRONB39 LENGTH=3
LABEL="Chronic condition body system 39"
CHRONB40 LENGTH=3
LABEL="Chronic condition body system 40"
CHRONB41 LENGTH=3
LABEL="Chronic condition body system 41"
CHRONB42 LENGTH=3
LABEL="Chronic condition body system 42"
CHRONB43 LENGTH=3
LABEL="Chronic condition body system 43"
CHRONB44 LENGTH=3
LABEL="Chronic condition body system 44"
CHRONB45 LENGTH=3
LABEL="Chronic condition body system 45"
CHRONB46 LENGTH=3
LABEL="Chronic condition body system 46"
CHRONB47 LENGTH=3
LABEL="Chronic condition body system 47"
CHRONB48 LENGTH=3
LABEL="Chronic condition body system 48"
CHRONB49 LENGTH=3
LABEL="Chronic condition body system 49"
CHRONB50 LENGTH=3
LABEL="Chronic condition body system 50"
CHRONB51 LENGTH=3
LABEL="Chronic condition body system 51"
CHRONB52 LENGTH=3
LABEL="Chronic condition body system 52"
CHRONB53 LENGTH=3
LABEL="Chronic condition body system 53"
CHRONB54 LENGTH=3
LABEL="Chronic condition body system 54"
CHRONB55 LENGTH=3
LABEL="Chronic condition body system 55"
CHRONB56 LENGTH=3
LABEL="Chronic condition body system 56"
CHRONB57 LENGTH=3
LABEL="Chronic condition body system 57"
CHRONB58 LENGTH=3
LABEL="Chronic condition body system 58"
CHRONB59 LENGTH=3
LABEL="Chronic condition body system 59"
CHRONB60 LENGTH=3
LABEL="Chronic condition body system 60"
CHRONB61 LENGTH=3
LABEL="Chronic condition body system 61"
DXMCCS1 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 1"
DXMCCS2 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 2"
DXMCCS3 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 3"
DXMCCS4 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 4"
DXMCCS5 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 5"
DXMCCS6 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 6"
DXMCCS7 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 7"
DXMCCS8 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 8"
DXMCCS9 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 9"
DXMCCS10 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 10"
DXMCCS11 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 11"
DXMCCS12 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 12"
DXMCCS13 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 13"
DXMCCS14 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 14"
DXMCCS15 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 15"
DXMCCS16 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 16"
DXMCCS17 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 17"
DXMCCS18 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 18"
DXMCCS19 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 19"
DXMCCS20 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 20"
DXMCCS21 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 21"
DXMCCS22 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 22"
DXMCCS23 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 23"
DXMCCS24 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 24"
DXMCCS25 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 25"
DXMCCS26 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 26"
DXMCCS27 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 27"
DXMCCS28 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 28"
DXMCCS29 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 29"
DXMCCS30 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 30"
DXMCCS31 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 31"
DXMCCS32 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 32"
DXMCCS33 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 33"
DXMCCS34 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 34"
DXMCCS35 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 35"
DXMCCS36 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 36"
DXMCCS37 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 37"
DXMCCS38 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 38"
DXMCCS39 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 39"
DXMCCS40 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 40"
DXMCCS41 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 41"
DXMCCS42 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 42"
DXMCCS43 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 43"
DXMCCS44 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 44"
DXMCCS45 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 45"
DXMCCS46 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 46"
DXMCCS47 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 47"
DXMCCS48 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 48"
DXMCCS49 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 49"
DXMCCS50 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 50"
DXMCCS51 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 51"
DXMCCS52 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 52"
DXMCCS53 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 53"
DXMCCS54 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 54"
DXMCCS55 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 55"
DXMCCS56 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 56"
DXMCCS57 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 57"
DXMCCS58 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 58"
DXMCCS59 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 59"
DXMCCS60 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 60"
DXMCCS61 LENGTH=$11
LABEL="Multi-Level CCS: Diagnosis 61"
E_MCCS1 LENGTH=$11
LABEL="Multi-Level CCS: E Code 1"
E_MCCS2 LENGTH=$11
LABEL="Multi-Level CCS: E Code 2"
E_MCCS3 LENGTH=$11
LABEL="Multi-Level CCS: E Code 3"
E_MCCS4 LENGTH=$11
LABEL="Multi-Level CCS: E Code 4"
E_MCCS5 LENGTH=$11
LABEL="Multi-Level CCS: E Code 5"
E_MCCS6 LENGTH=$11
LABEL="Multi-Level CCS: E Code 6"
KEY LENGTH=8 FORMAT=Z14.
LABEL="HCUP record identifier"
PCLASS1 LENGTH=3
LABEL="Procedure class 1"
PCLASS2 LENGTH=3
LABEL="Procedure class 2"
PCLASS3 LENGTH=3
LABEL="Procedure class 3"
PCLASS4 LENGTH=3
LABEL="Procedure class 4"
PCLASS5 LENGTH=3
LABEL="Procedure class 5"
PCLASS6 LENGTH=3
LABEL="Procedure class 6"
PCLASS7 LENGTH=3
LABEL="Procedure class 7"
PCLASS8 LENGTH=3
LABEL="Procedure class 8"
PCLASS9 LENGTH=3
LABEL="Procedure class 9"
PCLASS10 LENGTH=3
LABEL="Procedure class 10"
PCLASS11 LENGTH=3
LABEL="Procedure class 11"
PCLASS12 LENGTH=3
LABEL="Procedure class 12"
PCLASS13 LENGTH=3
LABEL="Procedure class 13"
PCLASS14 LENGTH=3
LABEL="Procedure class 14"
PCLASS15 LENGTH=3
LABEL="Procedure class 15"
PCLASS16 LENGTH=3
LABEL="Procedure class 16"
PCLASS17 LENGTH=3
LABEL="Procedure class 17"
PCLASS18 LENGTH=3
LABEL="Procedure class 18"
PCLASS19 LENGTH=3
LABEL="Procedure class 19"
PCLASS20 LENGTH=3
LABEL="Procedure class 20"
PCLASS21 LENGTH=3
LABEL="Procedure class 21"
PCLASS22 LENGTH=3
LABEL="Procedure class 22"
PCLASS23 LENGTH=3
LABEL="Procedure class 23"
PCLASS24 LENGTH=3
LABEL="Procedure class 24"
PCLASS25 LENGTH=3
LABEL="Procedure class 25"
PCLASS26 LENGTH=3
LABEL="Procedure class 26"
PCLASS27 LENGTH=3
LABEL="Procedure class 27"
PCLASS28 LENGTH=3
LABEL="Procedure class 28"
PCLASS29 LENGTH=3
LABEL="Procedure class 29"
PCLASS30 LENGTH=3
LABEL="Procedure class 30"
PCLASS31 LENGTH=3
LABEL="Procedure class 31"
PCLASS32 LENGTH=3
LABEL="Procedure class 32"
PCLASS33 LENGTH=3
LABEL="Procedure class 33"
PCLASS34 LENGTH=3
LABEL="Procedure class 34"
PCLASS35 LENGTH=3
LABEL="Procedure class 35"
PCLASS36 LENGTH=3
LABEL="Procedure class 36"
PCLASS37 LENGTH=3
LABEL="Procedure class 37"
PCLASS38 LENGTH=3
LABEL="Procedure class 38"
PCLASS39 LENGTH=3
LABEL="Procedure class 39"
PCLASS40 LENGTH=3
LABEL="Procedure class 40"
PCLASS41 LENGTH=3
LABEL="Procedure class 41"
PCLASS42 LENGTH=3
LABEL="Procedure class 42"
PCLASS43 LENGTH=3
LABEL="Procedure class 43"
PCLASS44 LENGTH=3
LABEL="Procedure class 44"
PCLASS45 LENGTH=3
LABEL="Procedure class 45"
PCLASS46 LENGTH=3
LABEL="Procedure class 46"
PRMCCS1 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 1"
PRMCCS2 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 2"
PRMCCS3 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 3"
PRMCCS4 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 4"
PRMCCS5 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 5"
PRMCCS6 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 6"
PRMCCS7 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 7"
PRMCCS8 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 8"
PRMCCS9 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 9"
PRMCCS10 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 10"
PRMCCS11 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 11"
PRMCCS12 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 12"
PRMCCS13 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 13"
PRMCCS14 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 14"
PRMCCS15 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 15"
PRMCCS16 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 16"
PRMCCS17 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 17"
PRMCCS18 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 18"
PRMCCS19 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 19"
PRMCCS20 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 20"
PRMCCS21 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 21"
PRMCCS22 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 22"
PRMCCS23 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 23"
PRMCCS24 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 24"
PRMCCS25 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 25"
PRMCCS26 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 26"
PRMCCS27 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 27"
PRMCCS28 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 28"
PRMCCS29 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 29"
PRMCCS30 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 30"
PRMCCS31 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 31"
PRMCCS32 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 32"
PRMCCS33 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 33"
PRMCCS34 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 34"
PRMCCS35 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 35"
PRMCCS36 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 36"
PRMCCS37 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 37"
PRMCCS38 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 38"
PRMCCS39 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 39"
PRMCCS40 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 40"
PRMCCS41 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 41"
PRMCCS42 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 42"
PRMCCS43 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 43"
PRMCCS44 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 44"
PRMCCS45 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 45"
PRMCCS46 LENGTH=$8
LABEL="Multi-Level CCS: Procedure 46"
;
*** Input the variables from the ASCII file ***;
INPUT
@1 CHRON1 N2PF.
@3 CHRON2 N2PF.
@5 CHRON3 N2PF.
@7 CHRON4 N2PF.
@9 CHRON5 N2PF.
@11 CHRON6 N2PF.
@13 CHRON7 N2PF.
@15 CHRON8 N2PF.
@17 CHRON9 N2PF.
@19 CHRON10 N2PF.
@21 CHRON11 N2PF.
@23 CHRON12 N2PF.
@25 CHRON13 N2PF.
@27 CHRON14 N2PF.
@29 CHRON15 N2PF.
@31 CHRON16 N2PF.
@33 CHRON17 N2PF.
@35 CHRON18 N2PF.
@37 CHRON19 N2PF.
@39 CHRON20 N2PF.
@41 CHRON21 N2PF.
@43 CHRON22 N2PF.
@45 CHRON23 N2PF.
@47 CHRON24 N2PF.
@49 CHRON25 N2PF.
@51 CHRON26 N2PF.
@53 CHRON27 N2PF.
@55 CHRON28 N2PF.
@57 CHRON29 N2PF.
@59 CHRON30 N2PF.
@61 CHRON31 N2PF.
@63 CHRON32 N2PF.
@65 CHRON33 N2PF.
@67 CHRON34 N2PF.
@69 CHRON35 N2PF.
@71 CHRON36 N2PF.
@73 CHRON37 N2PF.
@75 CHRON38 N2PF.
@77 CHRON39 N2PF.
@79 CHRON40 N2PF.
@81 CHRON41 N2PF.
@83 CHRON42 N2PF.
@85 CHRON43 N2PF.
@87 CHRON44 N2PF.
@89 CHRON45 N2PF.
@91 CHRON46 N2PF.
@93 CHRON47 N2PF.
@95 CHRON48 N2PF.
@97 CHRON49 N2PF.
@99 CHRON50 N2PF.
@101 CHRON51 N2PF.
@103 CHRON52 N2PF.
@105 CHRON53 N2PF.
@107 CHRON54 N2PF.
@109 CHRON55 N2PF.
@111 CHRON56 N2PF.
@113 CHRON57 N2PF.
@115 CHRON58 N2PF.
@117 CHRON59 N2PF.
@119 CHRON60 N2PF.
@121 CHRON61 N2PF.
@123 CHRONB1 N2PF.
@125 CHRONB2 N2PF.
@127 CHRONB3 N2PF.
@129 CHRONB4 N2PF.
@131 CHRONB5 N2PF.
@133 CHRONB6 N2PF.
@135 CHRONB7 N2PF.
@137 CHRONB8 N2PF.
@139 CHRONB9 N2PF.
@141 CHRONB10 N2PF.
@143 CHRONB11 N2PF.
@145 CHRONB12 N2PF.
@147 CHRONB13 N2PF.
@149 CHRONB14 N2PF.
@151 CHRONB15 N2PF.
@153 CHRONB16 N2PF.
@155 CHRONB17 N2PF.
@157 CHRONB18 N2PF.
@159 CHRONB19 N2PF.
@161 CHRONB20 N2PF.
@163 CHRONB21 N2PF.
@165 CHRONB22 N2PF.
@167 CHRONB23 N2PF.
@169 CHRONB24 N2PF.
@171 CHRONB25 N2PF.
@173 CHRONB26 N2PF.
@175 CHRONB27 N2PF.
@177 CHRONB28 N2PF.
@179 CHRONB29 N2PF.
@181 CHRONB30 N2PF.
@183 CHRONB31 N2PF.
@185 CHRONB32 N2PF.
@187 CHRONB33 N2PF.
@189 CHRONB34 N2PF.
@191 CHRONB35 N2PF.
@193 CHRONB36 N2PF.
@195 CHRONB37 N2PF.
@197 CHRONB38 N2PF.
@199 CHRONB39 N2PF.
@201 CHRONB40 N2PF.
@203 CHRONB41 N2PF.
@205 CHRONB42 N2PF.
@207 CHRONB43 N2PF.
@209 CHRONB44 N2PF.
@211 CHRONB45 N2PF.
@213 CHRONB46 N2PF.
@215 CHRONB47 N2PF.
@217 CHRONB48 N2PF.
@219 CHRONB49 N2PF.
@221 CHRONB50 N2PF.
@223 CHRONB51 N2PF.
@225 CHRONB52 N2PF.
@227 CHRONB53 N2PF.
@229 CHRONB54 N2PF.
@231 CHRONB55 N2PF.
@233 CHRONB56 N2PF.
@235 CHRONB57 N2PF.
@237 CHRONB58 N2PF.
@239 CHRONB59 N2PF.
@241 CHRONB60 N2PF.
@243 CHRONB61 N2PF.
@245 DXMCCS1 $CHAR11.
@256 DXMCCS2 $CHAR11.
@267 DXMCCS3 $CHAR11.
@278 DXMCCS4 $CHAR11.
@289 DXMCCS5 $CHAR11.
@300 DXMCCS6 $CHAR11.
@311 DXMCCS7 $CHAR11.
@322 DXMCCS8 $CHAR11.
@333 DXMCCS9 $CHAR11.
@344 DXMCCS10 $CHAR11.
@355 DXMCCS11 $CHAR11.
@366 DXMCCS12 $CHAR11.
@377 DXMCCS13 $CHAR11.
@388 DXMCCS14 $CHAR11.
@399 DXMCCS15 $CHAR11.
@410 DXMCCS16 $CHAR11.
@421 DXMCCS17 $CHAR11.
@432 DXMCCS18 $CHAR11.
@443 DXMCCS19 $CHAR11.
@454 DXMCCS20 $CHAR11.
@465 DXMCCS21 $CHAR11.
@476 DXMCCS22 $CHAR11.
@487 DXMCCS23 $CHAR11.
@498 DXMCCS24 $CHAR11.
@509 DXMCCS25 $CHAR11.
@520 DXMCCS26 $CHAR11.
@531 DXMCCS27 $CHAR11.
@542 DXMCCS28 $CHAR11.
@553 DXMCCS29 $CHAR11.
@564 DXMCCS30 $CHAR11.
@575 DXMCCS31 $CHAR11.
@586 DXMCCS32 $CHAR11.
@597 DXMCCS33 $CHAR11.
@608 DXMCCS34 $CHAR11.
@619 DXMCCS35 $CHAR11.
@630 DXMCCS36 $CHAR11.
@641 DXMCCS37 $CHAR11.
@652 DXMCCS38 $CHAR11.
@663 DXMCCS39 $CHAR11.
@674 DXMCCS40 $CHAR11.
@685 DXMCCS41 $CHAR11.
@696 DXMCCS42 $CHAR11.
@707 DXMCCS43 $CHAR11.
@718 DXMCCS44 $CHAR11.
@729 DXMCCS45 $CHAR11.
@740 DXMCCS46 $CHAR11.
@751 DXMCCS47 $CHAR11.
@762 DXMCCS48 $CHAR11.
@773 DXMCCS49 $CHAR11.
@784 DXMCCS50 $CHAR11.
@795 DXMCCS51 $CHAR11.
@806 DXMCCS52 $CHAR11.
@817 DXMCCS53 $CHAR11.
@828 DXMCCS54 $CHAR11.
@839 DXMCCS55 $CHAR11.
@850 DXMCCS56 $CHAR11.
@861 DXMCCS57 $CHAR11.
@872 DXMCCS58 $CHAR11.
@883 DXMCCS59 $CHAR11.
@894 DXMCCS60 $CHAR11.
@905 DXMCCS61 $CHAR11.
@916 E_MCCS1 $CHAR11.
@927 E_MCCS2 $CHAR11.
@938 E_MCCS3 $CHAR11.
@949 E_MCCS4 $CHAR11.
@960 E_MCCS5 $CHAR11.
@971 E_MCCS6 $CHAR11.
@982 KEY 14.
@996 PCLASS1 N2PF.
@998 PCLASS2 N2PF.
@1000 PCLASS3 N2PF.
@1002 PCLASS4 N2PF.
@1004 PCLASS5 N2PF.
@1006 PCLASS6 N2PF.
@1008 PCLASS7 N2PF.
@1010 PCLASS8 N2PF.
@1012 PCLASS9 N2PF.
@1014 PCLASS10 N2PF.
@1016 PCLASS11 N2PF.
@1018 PCLASS12 N2PF.
@1020 PCLASS13 N2PF.
@1022 PCLASS14 N2PF.
@1024 PCLASS15 N2PF.
@1026 PCLASS16 N2PF.
@1028 PCLASS17 N2PF.
@1030 PCLASS18 N2PF.
@1032 PCLASS19 N2PF.
@1034 PCLASS20 N2PF.
@1036 PCLASS21 N2PF.
@1038 PCLASS22 N2PF.
@1040 PCLASS23 N2PF.
@1042 PCLASS24 N2PF.
@1044 PCLASS25 N2PF.
@1046 PCLASS26 N2PF.
@1048 PCLASS27 N2PF.
@1050 PCLASS28 N2PF.
@1052 PCLASS29 N2PF.
@1054 PCLASS30 N2PF.
@1056 PCLASS31 N2PF.
@1058 PCLASS32 N2PF.
@1060 PCLASS33 N2PF.
@1062 PCLASS34 N2PF.
@1064 PCLASS35 N2PF.
@1066 PCLASS36 N2PF.
@1068 PCLASS37 N2PF.
@1070 PCLASS38 N2PF.
@1072 PCLASS39 N2PF.
@1074 PCLASS40 N2PF.
@1076 PCLASS41 N2PF.
@1078 PCLASS42 N2PF.
@1080 PCLASS43 N2PF.
@1082 PCLASS44 N2PF.
@1084 PCLASS45 N2PF.
@1086 PCLASS46 N2PF.
@1088 PRMCCS1 $CHAR8.
@1096 PRMCCS2 $CHAR8.
@1104 PRMCCS3 $CHAR8.
@1112 PRMCCS4 $CHAR8.
@1120 PRMCCS5 $CHAR8.
@1128 PRMCCS6 $CHAR8.
@1136 PRMCCS7 $CHAR8.
@1144 PRMCCS8 $CHAR8.
@1152 PRMCCS9 $CHAR8.
@1160 PRMCCS10 $CHAR8.
@1168 PRMCCS11 $CHAR8.
@1176 PRMCCS12 $CHAR8.
@1184 PRMCCS13 $CHAR8.
@1192 PRMCCS14 $CHAR8.
@1200 PRMCCS15 $CHAR8.
@1208 PRMCCS16 $CHAR8.
@1216 PRMCCS17 $CHAR8.
@1224 PRMCCS18 $CHAR8.
@1232 PRMCCS19 $CHAR8.
@1240 PRMCCS20 $CHAR8.
@1248 PRMCCS21 $CHAR8.
@1256 PRMCCS22 $CHAR8.
@1264 PRMCCS23 $CHAR8.
@1272 PRMCCS24 $CHAR8.
@1280 PRMCCS25 $CHAR8.
@1288 PRMCCS26 $CHAR8.
@1296 PRMCCS27 $CHAR8.
@1304 PRMCCS28 $CHAR8.
@1312 PRMCCS29 $CHAR8.
@1320 PRMCCS30 $CHAR8.
@1328 PRMCCS31 $CHAR8.
@1336 PRMCCS32 $CHAR8.
@1344 PRMCCS33 $CHAR8.
@1352 PRMCCS34 $CHAR8.
@1360 PRMCCS35 $CHAR8.
@1368 PRMCCS36 $CHAR8.
@1376 PRMCCS37 $CHAR8.
@1384 PRMCCS38 $CHAR8.
@1392 PRMCCS39 $CHAR8.
@1400 PRMCCS40 $CHAR8.
@1408 PRMCCS41 $CHAR8.
@1416 PRMCCS42 $CHAR8.
@1424 PRMCCS43 $CHAR8.
@1432 PRMCCS44 $CHAR8.
@1440 PRMCCS45 $CHAR8.
@1448 PRMCCS46 $CHAR8.
;
RUN;
|
functions {
real foo(real a1) {
real lf_x;
lf_x *= a1;
return lf_x;
}
matrix foo_matrix(matrix a1) {
matrix[2,3] lf_m1;
lf_m1 *= a1;
return lf_m1;
}
}
transformed data {
real td_x;
vector[3] td_v1;
row_vector[3] td_rv1;
matrix[2,3] td_m1;
td_v1 *= td_x;
td_v1 *= foo(td_x);
td_rv1 *= td_rv1[1];
td_m1[1] *= td_x;
td_m1[1] *= td_v1[1];
td_m1 *= td_m1;
td_m1 *= foo_matrix(td_m1);
}
transformed parameters {
vector[3] tp_v1;
row_vector[3] tp_rv1;
matrix[2,3] tp_m1;
tp_v1 *= tp_v1[1];
tp_rv1 *= tp_rv1[1];
tp_m1 *= tp_m1;
tp_m1 *= foo_matrix(tp_m1);
tp_v1 *= td_x;
tp_v1 *= foo(td_x);
tp_rv1 *= td_rv1[1];
tp_m1[1] *= td_x;
tp_m1[1] *= td_v1[1];
tp_m1 *= td_m1;
tp_m1 *= foo_matrix(td_m1);
}
generated quantities {
vector[3] gq_v1;
row_vector[3] gq_rv1;
matrix[2,3] gq_m1;
gq_v1 *= tp_v1[1];
gq_rv1 *= tp_rv1[1];
gq_m1 *= tp_m1;
gq_m1 *= foo_matrix(tp_m1);
}
|
theory Sound_Communication_B
imports Main Syntax
Dynamic_Semantics Static_Semantics Sound_Semantics
Dynamic_Communication Static_Communication Sound_Communication
Static_Communication_B
begin
inductive
staticFlowsAcceptEnv :: "static_env \<Rightarrow> flow_set \<Rightarrow> tm \<Rightarrow> env \<Rightarrow> bool" and
staticFlowsAcceptVal :: "static_env \<Rightarrow> flow_set \<Rightarrow> tm \<Rightarrow> val \<Rightarrow> bool"
where
StaticFlowsAcceptEnv:
"
\<forall> x \<omega> . \<rho> x = Some \<omega> \<longrightarrow> staticFlowsAcceptVal V F t0 \<omega> \<Longrightarrow>
staticFlowsAcceptEnv V F t0 \<rho>
"
| Unit:
"
staticFlowsAcceptVal V F t0 VUnt
"
| Chan:
"
staticFlowsAcceptVal V F t0 (VChn c)
"
| SendEvt:
"
staticFlowsAcceptEnv V F t0 \<rho> \<Longrightarrow>
staticFlowsAcceptVal V F t0 (VClsr (SendEvt _ _) \<rho>)
"
| RecvEvt:
"
staticFlowsAcceptEnv V F t0 \<rho> \<Longrightarrow>
staticFlowsAcceptVal V F t0 (VClsr (RecvEvt _) \<rho>)
"
| Left:
"
staticFlowsAcceptEnv V F t0 \<rho> \<Longrightarrow>
staticFlowsAcceptVal V F t0 (VClsr (Lft _) \<rho>)
"
| Right:
"
staticFlowsAcceptEnv V F t0 \<rho> \<Longrightarrow>
staticFlowsAcceptVal V F t0 (VClsr (Rht _) \<rho>)
"
| Fun:
"
staticFlowsAcceptTm V F t0 e \<Longrightarrow>
staticFlowsAcceptEnv V F t0 \<rho> \<Longrightarrow>
staticFlowsAcceptVal V F t0 (VClsr (Fun f x e) \<rho>)
"
| Pair:
"
staticFlowsAcceptEnv V F t0 \<rho> \<Longrightarrow>
staticFlowsAcceptVal V F t0 (VClsr (Pair _ _) \<rho>)
"
inductive staticFlowsAcceptStack :: "static_env \<Rightarrow> flow_set \<Rightarrow> tm \<Rightarrow> name \<Rightarrow> contin list \<Rightarrow> bool" where
Empty: "staticFlowsAcceptStack V F t0 y []"
| Nonempty:
"
\<lbrakk>
{(IdRslt y, EReturn, tmId e)} \<subseteq> F;
staticFlowsAcceptTm V F t0 e;
staticFlowsAcceptEnv V F t0 \<rho>;
staticFlowsAcceptStack V F t0 (\<lfloor>e\<rfloor>) \<kappa>
\<rbrakk> \<Longrightarrow>
staticFlowsAcceptStack V F t0 y ((Ctn x e \<rho>) # \<kappa>)
"
inductive staticFlowsAcceptPool :: "static_env \<Rightarrow> flow_set \<Rightarrow> tm \<Rightarrow> trace_pool \<Rightarrow> bool" where
Intro:
"
(\<forall> \<pi> e \<rho> \<kappa> . E \<pi> = Some (Stt e \<rho> \<kappa>) \<longrightarrow>
staticFlowsAcceptTm V F t0 e \<and>
staticFlowsAcceptEnv V F t0 \<rho> \<and>
staticFlowsAcceptStack V F t0 (\<lfloor>e\<rfloor>) \<kappa>) \<Longrightarrow>
staticFlowsAcceptPool V F t0 E
"
inductive
staticLiveChanEnv :: "static_env \<Rightarrow> tm_id_map \<Rightarrow> tm_id_map \<Rightarrow> name \<Rightarrow> env \<Rightarrow> bool" and
staticLiveChanVal :: "static_env \<Rightarrow> tm_id_map \<Rightarrow> tm_id_map \<Rightarrow> name \<Rightarrow> val \<Rightarrow> bool"
where
StaticLiveChanEnv:
"
\<forall> x \<omega> . \<rho> x = Some \<omega> \<longrightarrow> staticLiveChanVal V Ln Lx x\<^sub>c \<omega> \<Longrightarrow>
staticLiveChanEnv V Ln Lx x\<^sub>c \<rho>
"
| StaticLiveChanUnit:
"
staticLiveChanVal V Ln Lx x\<^sub>c VUnt
"
| StaticLiveChan:
"
staticLiveChanVal V Ln Lx x\<^sub>c (VChn c)
"
| StaticLiveChanSendEvt:
"
staticLiveChanEnv V Ln Lx x\<^sub>c \<rho> \<Longrightarrow>
staticLiveChanVal V Ln Lx x\<^sub>c (VClsr (SendEvt _ _) \<rho>)
"
| StaticLiveChanRecvEvt:
"
staticLiveChanEnv V Ln Lx x\<^sub>c \<rho> \<Longrightarrow>
staticLiveChanVal V Ln Lx x\<^sub>c (VClsr (RecvEvt _) \<rho>)
"
| StaticLiveChanLeft:
"
staticLiveChanEnv V Ln Lx x\<^sub>c \<rho> \<Longrightarrow>
staticLiveChanVal V Ln Lx x\<^sub>c (VClsr (Lft _) \<rho>)
"
| StaticLiveChanRight:
"
staticLiveChanEnv V Ln Lx x\<^sub>c \<rho> \<Longrightarrow>
staticLiveChanVal V Ln Lx x\<^sub>c (VClsr (Rht _) \<rho>)
"
| StaticLiveChanFun:
"
staticLiveChan V Ln Lx x\<^sub>c e \<Longrightarrow>
staticLiveChanEnv V Ln Lx x\<^sub>c \<rho> \<Longrightarrow>
staticLiveChanVal V Ln Lx x\<^sub>c (VClsr (Fun f x e) \<rho>)
"
| StaticLiveChanPair:
"
staticLiveChanEnv V Ln Lx x\<^sub>c \<rho> \<Longrightarrow>
staticLiveChanVal V Ln Lx x\<^sub>c (VClsr (Pair _ _) \<rho>)
"
inductive staticLiveChanStack :: "static_env \<Rightarrow> tm_id_map \<Rightarrow> tm_id_map \<Rightarrow> name \<Rightarrow> name \<Rightarrow> contin list \<Rightarrow> bool" where
Empty: "staticLiveChanStack V Ln Lx x\<^sub>c x\<^sub>r []"
| Nonempty:
"
\<lbrakk>
\<not> Set.is_empty (Lx (IdRslt x\<^sub>r));
\<not> Set.is_empty (Ln (tmId e));
staticLiveChan V Ln Lx x\<^sub>c e;
staticLiveChanEnv V Ln Lx x\<^sub>c \<rho>;
staticLiveChanStack V Ln Lx x\<^sub>c (resultName e) \<kappa>
\<rbrakk> \<Longrightarrow>
staticLiveChanStack V Ln Lx x\<^sub>c x\<^sub>r ((Ctn x e \<rho>) # \<kappa>)
"
inductive staticLiveChanPool :: "static_env \<Rightarrow> tm_id_map \<Rightarrow> tm_id_map \<Rightarrow> name \<Rightarrow> trace_pool \<Rightarrow> bool" where
Intro:
"
(\<forall> \<pi> e \<rho> \<kappa> . pool \<pi> = Some (Stt e \<rho> \<kappa>) \<longrightarrow>
staticLiveChan V Ln Lx x\<^sub>c e \<and>
staticLiveChanEnv V Ln Lx x\<^sub>c \<rho> \<and>
staticLiveChanStack V Ln Lx x\<^sub>c (resultName e) \<kappa>) \<Longrightarrow>
staticLiveChanPool V Ln Lx x\<^sub>c pool
"
lemma staticInclusive_commut: "
staticInclusive path\<^sub>1 path\<^sub>2 \<Longrightarrow> staticInclusive path\<^sub>2 path\<^sub>1
"
apply (erule staticInclusive.cases; auto)
apply (simp add: Prefix2)
apply (simp add: Prefix1)
apply (simp add: Spawn2)
apply (simp add: Spawn1)
apply (simp add: Send2)
apply (simp add: Send1)
done
lemma staticInclusivePreservedDynamicEval_under_unordered_extension: "
\<not> prefix path\<^sub>1 path\<^sub>2 \<Longrightarrow>
\<not> prefix path\<^sub>2 path\<^sub>1 \<Longrightarrow>
staticInclusive path\<^sub>1 path\<^sub>2 \<Longrightarrow>
staticInclusive (path\<^sub>1 @ [l]) path\<^sub>2
"
apply (erule staticInclusive.cases; auto)
apply (simp add: Spawn1)
apply (simp add: Spawn2)
apply (simp add: Send1)
apply (simp add: Send2)
done
lemma staticInclusivePreservedDynamicEval_under_unordered_double_extension: "
staticInclusive path\<^sub>1 path\<^sub>2 \<Longrightarrow>
\<not> prefix path\<^sub>1 path\<^sub>2 \<Longrightarrow>
\<not> prefix path\<^sub>2 path\<^sub>1 \<Longrightarrow>
staticInclusive (path\<^sub>1 @ [l1]) (path\<^sub>2 @ [l2])
"
by (metis staticInclusive_commut staticInclusivePreservedDynamicEval_under_unordered_extension prefix_append prefix_def)
inductive pathsCongruent :: "control_path \<Rightarrow> static_path \<Rightarrow> bool" where
Empty:
"
pathsCongruent [] []
"
| Next:
"
pathsCongruent \<pi> path \<Longrightarrow>
pathsCongruent (\<pi> @ [LNxt x]) (path @ [(IdBind x, ENext)])
"
| Spawn:
"
pathsCongruent \<pi> path \<Longrightarrow>
pathsCongruent (\<pi> @ [LSpwn x]) (path @ [(IdBind x, ESpawn)])
"
| Call:
"
pathsCongruent \<pi> path \<Longrightarrow>
pathsCongruent (\<pi> @ [LCall x]) (path @ [(IdBind x, ECall)])
"
| Return:
"
pathsCongruent \<pi> path \<Longrightarrow>
pathsCongruent (\<pi> @ [LRtn y]) (path @ [(IdRslt y, EReturn)])
"
inductive pathsCongruentModChan ::
"tm \<Rightarrow> chan \<Rightarrow> control_path \<Rightarrow> static_path \<Rightarrow> bool"
where
Chan:
"
pathsCongruent ((LNxt xC) # \<pi>Suff) path \<Longrightarrow>
pathsCongruentModChan t0 (Ch \<pi>C xC) (\<pi>C @ (LNxt xC) # \<pi>Suff) path
"
| Sync:
"
star dynamicEval ([[] \<mapsto> (Stt t0 empty [])], {}) (\<E>, comm) \<Longrightarrow>
\<E> \<pi>S = Some (Stt (Bind xS (Sync xSE) eSY) \<rho>SY \<kappa>SY) \<Longrightarrow>
\<E> \<pi>R = Some (Stt (Bind xR (Sync xRE) eRY) \<rho>RY \<kappa>RY) \<Longrightarrow>
{(\<pi>S, c_c, \<pi>R)} \<subseteq> comm \<Longrightarrow>
\<rho>RY xR = Some vR \<Longrightarrow>
dynamicBuiltOnChanVal vR c \<Longrightarrow>
pathsCongruentModChan t0 c \<pi>S pathPre \<Longrightarrow>
pathsCongruent \<pi>Suffix pathSuffix \<Longrightarrow>
pathsCongruentModChan t0 c
(\<pi>R @ (LNxt xR) # \<pi>Suffix)
(pathPre @ (IdBind xS, ESend xSE) # (IdBind xR, ENext) # pathSuffix)
"
lemma pathsCongruentModChanPreservedSnoc:
"
pathsCongruentModChan t0 c \<pi> path \<Longrightarrow>
pathsCongruent [site] [step] \<Longrightarrow>
pathsCongruentModChan t0 c (\<pi> @ [site]) (path @ [step])
"
sorry
lemma staticInclusiveSound: "
star dynamicEval ([[] \<mapsto> (Stt e empty [])], {}) (\<E>', H') \<Longrightarrow>
staticLiveChan V Ln Lx xC e \<Longrightarrow>
staticFlowsAccept V F e \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e \<Longrightarrow>
\<E>' \<pi>1 \<noteq> None \<Longrightarrow>
pathsCongruentModChan e (Ch \<pi> xC) \<pi>1 path1 \<Longrightarrow>
staticPathLive F Ln Lx (IdBind xC) (staticSendSite V e xC) path1 \<Longrightarrow>
\<E>' \<pi>2 \<noteq> None \<Longrightarrow>
pathsCongruentModChan e (Ch \<pi> xC) \<pi>2 path2 \<Longrightarrow>
staticPathLive F Ln Lx (IdBind xC) (staticSendSite V e xC) path2 \<Longrightarrow>
staticInclusive path1 path2
"
sorry
lemma is_send_path_implies_nonempty_pool: "
is_send_path \<E> (Ch \<pi>C xC) \<pi> \<Longrightarrow>
\<E> \<pi> \<noteq> None
"
proof -
assume H1: "is_send_path \<E> (Ch \<pi>C xC) \<pi>"
then have
H2:
"
\<exists> x\<^sub>y x\<^sub>e e\<^sub>n \<rho> \<kappa>. \<E> \<pi> = Some (Stt (Bind x\<^sub>y (Sync x\<^sub>e) e\<^sub>n) \<rho> \<kappa>)
" using is_send_path.simps by auto
then show
"\<E> \<pi> \<noteq> None" by blast
qed
lemma static_equalitySound: "
path1 = path2 \<Longrightarrow>
star dynamicEval ([[] \<mapsto> (Stt e empty [])], {}) (\<E>', H') \<Longrightarrow>
staticLiveChan V Ln Lx xC e \<Longrightarrow>
staticFlowsAccept V F e \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e \<Longrightarrow>
\<E>' \<pi>1 \<noteq> None \<Longrightarrow>
pathsCongruentModChan e (Ch \<pi> xC) \<pi>1 path1 \<Longrightarrow>
staticPathLive F Ln Lx (IdBind xC) (staticSendSite V e xC) path1 \<Longrightarrow>
pathsCongruentModChan e (Ch \<pi> xC) \<pi>2 path2 \<Longrightarrow>
staticPathLive F Ln Lx (IdBind xC) (staticSendSite V e xC) path2 \<Longrightarrow>
\<E>' \<pi>2 \<noteq> None \<Longrightarrow>
\<pi>1 = \<pi>2
"
sorry
(* PATH SOUND *)
lemma staticFlowsAcceptPoolPreservedReturn:
"
staticFlowsAcceptPool V F e0 Em \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left dynamicEval ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticFlowsAcceptPool V F e0 [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Rslt x) env (Ctn xk ek envk # k)) \<Longrightarrow>
env x = Some v \<Longrightarrow>
staticFlowsAcceptPool V F e0 (Em(pi @ [LRtn x] \<mapsto> Stt ek (envk(xk \<mapsto> v)) k))
"
apply (rule staticFlowsAcceptPool.Intro; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptStack.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (drule spec[of _ x]; auto)
apply (erule staticFlowsAcceptStack.cases; auto)
apply (simp add: staticFlowsAcceptEnv.simps)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptStack.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)+
done
lemma staticFlowsAcceptPoolPreservedSeqEval:
"
staticFlowsAcceptPool V F e0 Em \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticFlowsAcceptPool V F e0 [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x b e) env k) \<Longrightarrow>
seqEval b env v \<Longrightarrow>
staticFlowsAcceptPool V F e0 (Em(pi @ [LNxt x] \<mapsto> Stt e (env(x \<mapsto> v)) k))
"
apply (rule staticFlowsAcceptPool.Intro; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (frule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule seqEval.cases; auto)
apply (simp add: staticFlowsAcceptEnv.simps staticFlowsAcceptEnv_staticFlowsAcceptVal.Unit)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (rotate_tac -2)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (smt map_upd_Some_unfold staticFlowsAcceptEnv.cases StaticFlowsAcceptEnv staticFlowsAcceptEnv_staticFlowsAcceptVal.SendEvt)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (rotate_tac -2)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (smt map_upd_Some_unfold staticFlowsAcceptEnv.cases StaticFlowsAcceptEnv staticFlowsAcceptEnv_staticFlowsAcceptVal.RecvEvt)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (rotate_tac -2)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (smt map_upd_Some_unfold staticFlowsAcceptEnv.cases StaticFlowsAcceptEnv staticFlowsAcceptEnv_staticFlowsAcceptVal.Pair)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (rotate_tac -2)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (smt map_upd_Some_unfold staticFlowsAcceptEnv.cases StaticFlowsAcceptEnv staticFlowsAcceptEnv_staticFlowsAcceptVal.Left)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (rotate_tac -2)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (smt map_upd_Some_unfold staticFlowsAcceptEnv.cases StaticFlowsAcceptEnv staticFlowsAcceptEnv_staticFlowsAcceptVal.Right)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (rotate_tac -2)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (smt map_upd_Some_unfold staticFlowsAcceptEnv.cases staticFlowsAcceptEnv_staticFlowsAcceptVal.Fun StaticFlowsAcceptEnv)
apply (frule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _pi]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (drule_tac x = "xp" in spec; auto)
apply (erule staticFlowsAcceptVal.cases; auto)
apply (rename_tac xp envp x1 x2)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (drule_tac x = "x1" in spec; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _pi]; auto)
apply (simp add: staticFlowsAcceptEnv.simps)
apply (frule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _pi]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (drule_tac x = "xp" in spec; auto)
apply (erule staticFlowsAcceptVal.cases; auto)
apply (rename_tac xp envp x1 x2)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (drule_tac x = "x2" in spec; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _pi]; auto)
apply (simp add: staticFlowsAcceptEnv.simps)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _pi]; auto)
apply (erule staticFlowsAcceptPool.cases; auto)+
done
lemma staticFlowsAcceptPoolPreservedCallEval:
"
staticFlowsAcceptPool V F e0 Em \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticFlowsAcceptPool V F e0 [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x b e) env k) \<Longrightarrow>
callEval (b, env) (e', env') \<Longrightarrow>
staticFlowsAcceptPool V F e0 (Em(pi @ [LCall x] \<mapsto> Stt e' env' (Ctn x e env # k)))
"
apply (rule staticFlowsAcceptPool.Intro; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule callEval.cases; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (drule_tac x = "f" in spec; auto)
apply (erule staticFlowsAcceptVal.cases; auto)
apply (erule callEval.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (frule staticFlowsAcceptEnv.cases; auto)
apply (drule_tac x = "xs" in spec; auto)
apply (erule staticFlowsAcceptVal.cases; auto)
apply (rename_tac xs vl xl xr er envl xl')
apply (rotate_tac -1)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (rename_tac xs vl xl xr er xl' envl)
apply (drule_tac x = "xl'" in spec; auto)
apply (simp add: staticFlowsAcceptEnv.simps)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (frule staticFlowsAcceptEnv.cases; auto)
apply (drule_tac x = "xs" in spec; auto)
apply (erule staticFlowsAcceptVal.cases; auto)
apply (rename_tac xs vl xl xr er envr xr')
apply (rotate_tac -1)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (rename_tac xs vl xl xr er xr' envr)
apply (drule_tac x = "xr'" in spec; auto)
apply (simp add: staticFlowsAcceptEnv.simps)
apply (rule StaticFlowsAcceptEnv; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (drule_tac x = "f" in spec; auto)
apply (erule staticFlowsAcceptVal.cases; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule callEval.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (simp add: staticFlowsAcceptStack.Nonempty)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (simp add: staticFlowsAcceptStack.Nonempty)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (drule_tac x = "fp" in spec)
apply (drule_tac x = "xp" in spec)
apply (drule spec[of _ e'])
apply (drule staticEval_to_pool)
apply (rotate_tac -1)
apply (drule staticEvalPreserved[of V C _ "{}" Em Hm]; auto)
apply (simp add: star_left_implies_star)+
apply (erule notE)
apply (rotate_tac -1)
apply (erule staticEvalPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticEvalState.cases; auto)
apply (erule staticEvalEnv.cases; auto)
apply (drule_tac x = "fa" in spec; auto)
apply (simp add: staticFlowsAcceptStack.Nonempty)
apply (erule staticFlowsAcceptPool.cases; auto)+
done
lemma staticFlowsAcceptPoolPreservedMkChan:
"
staticFlowsAcceptPool V F e0 Em \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticFlowsAcceptPool V F e0 [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x MkChn e) env k) \<Longrightarrow>
staticFlowsAcceptPool V F e0 (Em(pi @ [LNxt x] \<mapsto> Stt e (env(x \<mapsto> VChn (Ch pi x))) k))
"
apply (rule staticFlowsAcceptPool.Intro; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (rule StaticFlowsAcceptEnv; auto)
apply (simp add: staticFlowsAcceptEnv_staticFlowsAcceptVal.Chan)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptPool.cases; auto)+
done
lemma staticFlowsAcceptPoolPreservedSpawn:
"
staticFlowsAcceptPool V F e0 Em \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticFlowsAcceptPool V F e0 [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x (Spwn ec) e) env k) \<Longrightarrow>
staticFlowsAcceptPool V F e0 (Em(pi @ [LNxt x] \<mapsto> Stt e (env(x \<mapsto> VUnt)) k, pi @ [LSpwn x] \<mapsto> Stt ec env []))
"
apply (rule staticFlowsAcceptPool.Intro; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (rule StaticFlowsAcceptEnv; auto)
using staticFlowsAcceptEnv_staticFlowsAcceptVal.Unit apply blast
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule notE)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
using staticFlowsAcceptStack.Empty apply blast
apply (erule staticFlowsAcceptPool.cases; auto)+
done
lemma staticFlowsAcceptPoolPreservedSync:
"
staticFlowsAcceptPool V F e0 Em \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticFlowsAcceptPool V F e0 [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
leaf Em pis \<Longrightarrow>
Em pis = Some (Stt (Bind xs (Sync xse) es) envs ks) \<Longrightarrow>
envs xse = Some (VClsr (SendEvt xsc xm) envse) \<Longrightarrow>
leaf Em pir \<Longrightarrow>
Em pir = Some (Stt (Bind xr (Sync xre) er) envr kr) \<Longrightarrow>
envr xre = Some (VClsr (RecvEvt xrc) envre) \<Longrightarrow>
envse xsc = Some (VChn c) \<Longrightarrow>
envre xrc = Some (VChn c) \<Longrightarrow>
envse xm = Some vm \<Longrightarrow>
staticFlowsAcceptPool V F e0 (Em(pis @ [LNxt xs] \<mapsto> Stt es (envs(xs \<mapsto> VUnt)) ks, pir @ [LNxt xr] \<mapsto> Stt er (envr(xr \<mapsto> vm)) kr))
"
apply (rule staticFlowsAcceptPool.Intro; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (rule StaticFlowsAcceptEnv; auto)
using staticFlowsAcceptEnv_staticFlowsAcceptVal.Unit apply blast
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (rule StaticFlowsAcceptEnv; auto)
using staticFlowsAcceptEnv_staticFlowsAcceptVal.Unit apply blast
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule notE)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (erule notE)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
apply (rule StaticFlowsAcceptEnv; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (drule spec[of _ xse]; auto)
apply (erule staticFlowsAcceptVal.cases; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (rule StaticFlowsAcceptEnv; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (drule spec[of _ xse]; auto)
apply (erule staticFlowsAcceptVal.cases; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (erule staticFlowsAcceptEnv.cases; auto)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (erule staticFlowsAcceptPool.cases; auto)+
done
lemma staticFlowsAcceptPoolPreservedDynamicEval:
"
staticFlowsAcceptPool V F e0 Em \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left dynamicEval ([[] \<mapsto> (Stt e0 empty [])], {}) (Em, Hm) \<Longrightarrow>
dynamicEval (Em, Hm) (E', H') \<Longrightarrow>
staticFlowsAcceptPool V F e0 [[] \<mapsto> (Stt e0 empty [])] \<Longrightarrow>
staticFlowsAcceptPool V F e0 E'
"
apply (erule dynamicEval.cases; auto)
apply (simp add: staticFlowsAcceptPoolPreservedReturn)
apply (simp add: staticFlowsAcceptPoolPreservedSeqEval)
apply (simp add: staticFlowsAcceptPoolPreservedCallEval)
apply (simp add: staticFlowsAcceptPoolPreservedMkChan)
apply (simp add: staticFlowsAcceptPoolPreservedSpawn)
apply (simp add: staticFlowsAcceptPoolPreservedSync)
done
lemma staticFlowsAcceptPoolPreserved':
"
star_left dynamicEval EH0 EH' \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
\<forall> E' H' .
EH0 = ([[] \<mapsto> (Stt e0 empty [])], {}) \<longrightarrow>
EH' = (E', H') \<longrightarrow>
staticFlowsAcceptPool V F e0 [[] \<mapsto> (Stt e0 empty [])] \<longrightarrow>
staticFlowsAcceptPool V F e0 E'
"
apply (erule star_left.induct; clarify)
using staticFlowsAcceptPoolPreservedDynamicEval apply metis
done
lemma staticFlowsAcceptPoolPreserved:
"
staticFlowsAcceptPool V F e0 [[] \<mapsto> (Stt e0 empty [])] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star dynamicEval ([[] \<mapsto> (Stt e0 empty [])], {}) (E', H') \<Longrightarrow>
staticFlowsAcceptPool V F e0 E'
"
using star_implies_star_left staticFlowsAcceptPoolPreserved' by fastforce
lemma staticFlowsAcceptToPool:
"
staticFlowsAccept V F e \<Longrightarrow>
staticFlowsAcceptPool V F e [[] \<mapsto> (Stt e empty [])]
"
apply (rule staticFlowsAcceptPool.intros; auto)
using staticFlowsAccept.cases apply blast
apply (simp add: staticFlowsAcceptEnv_staticFlowsAcceptVal.intros(1))
apply (simp add: staticFlowsAcceptStack.Empty)
done
lemma staticLiveChanPoolPreservedReturn:
"
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC Em \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Rslt x) env (Ctn xk ek envk # k)) \<Longrightarrow>
env x = Some v \<Longrightarrow>
staticLiveChanPool V Ln Lx xC (Em(pi @ [LRtn x] \<mapsto> Stt ek (envk(xk \<mapsto> v)) k))
"
apply (rule staticLiveChanPool.intros; clarify)
apply (case_tac "\<pi> = pi @ [LRtn x]"; auto)
apply (rotate_tac 1)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticLiveChanStack.cases; auto)
apply (rotate_tac 1)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticLiveChanStack.cases; auto)
apply (erule staticLiveChanEnv.cases; auto)
apply (drule spec[of _ x])
apply (drule spec[of _ v]; clarsimp)
apply (erule staticLiveChanEnv.cases; auto)
apply (rule StaticLiveChanEnv; auto)
apply (rotate_tac 1)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticLiveChanStack.cases; auto)
apply (rotate_tac 1)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 1)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 1)
apply (erule staticLiveChanPool.cases; auto)
done
lemma staticLiveChanPoolPreservedSeqEval:
"
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC Em \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x b e) env k) \<Longrightarrow>
seqEval b env v \<Longrightarrow>
staticLiveChanPool V Ln Lx xC (Em(pi @ [LNxt x] \<mapsto> Stt e (env(x \<mapsto> v)) k))
"
apply (rule staticLiveChanPool.intros; clarify)
apply (case_tac "\<pi> = pi @ [LNxt x]"; auto)
apply (rotate_tac 1; erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticLiveChan.cases; auto)
apply (rotate_tac 1; erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule seqEval.cases; auto)
apply (simp add: StaticLiveChanUnit staticLiveChanEnv.simps)
apply (erule staticLiveChan.cases; clarsimp)
apply (simp add: StaticLiveChanSendEvt staticLiveChanEnv.simps)
apply (simp add: StaticLiveChanRecvEvt staticLiveChanEnv.simps)
apply (simp add: StaticLiveChanPair staticLiveChanEnv.simps)
apply (simp add: StaticLiveChanLeft staticLiveChanEnv.simps)
apply (simp add: StaticLiveChanRight staticLiveChanEnv.simps)
apply (simp add: StaticLiveChanFun staticLiveChanEnv.simps)
apply (frule staticLiveChanEnv.cases; auto)
apply (drule_tac x = "xp" in spec; auto)
apply (erule staticLiveChanVal.cases; auto)
apply (rename_tac xp envp x1 x2)
apply (rotate_tac -1)
apply (erule staticLiveChanEnv.cases; auto)
apply (simp add: staticLiveChanEnv.simps)
apply (frule staticLiveChanEnv.cases; auto)
apply (drule_tac x = "xp" in spec; auto)
apply (erule staticLiveChanVal.cases; auto)
apply (rename_tac xp envp x1 x2)
apply (rotate_tac -1)
apply (erule staticLiveChanEnv.cases; auto)
apply (simp add: staticLiveChanEnv.simps)
apply (rotate_tac -4)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac -4)
apply (erule staticLiveChanPool.cases; auto)
(*
apply (rotate_tac -4)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
done
*)
sorry
lemma staticLiveChanPoolPreservedCall:
"
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC Em \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x b e) env k) \<Longrightarrow>
callEval (b, env) (e', env') \<Longrightarrow>
staticLiveChanPool V Ln Lx xC (Em(pi @ [LCall x] \<mapsto> Stt e' env' (Ctn x e env # k)))
"
apply (rotate_tac 3)
apply (frule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule callEval.cases; auto; rule staticLiveChanPool.intros; clarify; (case_tac "\<pi> = pi @ [LCall x]"; auto))
apply (erule staticLiveChan.cases; auto)
apply (frule staticLiveChanEnv.cases; auto)
apply (drule_tac x = "xs" in spec; auto)
apply (erule staticLiveChanVal.cases; auto)
apply (rename_tac xs vl xl xr er envl xl')
apply (rotate_tac -1)
apply (erule staticLiveChanEnv.cases; auto)
apply (drule_tac x = "xl'" in spec; auto)
apply (simp add: staticLiveChanEnv.simps)
apply (erule staticLiveChan.cases; auto)
(*
apply (simp add: staticLiveChanStack.Nonempty)
apply (simp add: staticLiveChanStack.Nonempty)
apply (frule staticLiveChanPool.cases; auto)
apply (frule staticLiveChanPool.cases; auto)
apply (frule staticLiveChanPool.cases; auto)
apply (erule staticLiveChan.cases; auto)
apply (frule staticLiveChanEnv.cases; auto)
apply (drule_tac x = "xs" in spec; auto)
apply (erule staticLiveChanVal.cases; auto)
apply (rename_tac xs vl xl xr er envr xr')
apply (rotate_tac -1)
apply (erule staticLiveChanEnv.cases; auto)
apply (drule_tac x = "xr'" in spec; auto)
apply (simp add: staticLiveChanEnv.simps)
apply (erule staticLiveChan.cases; auto)
apply (simp add: staticLiveChanStack.Nonempty)
apply (simp add: staticLiveChanStack.Nonempty)
apply (frule staticLiveChanPool.cases; auto)
apply (frule staticLiveChanPool.cases; auto)
apply (frule staticLiveChanPool.cases; auto)
apply (erule staticLiveChanEnv.cases; auto)
apply (drule_tac x = "f" in spec; auto)
apply (erule staticLiveChanVal.cases; auto)
apply (rule StaticLiveChanEnv; auto)
apply (erule staticLiveChanEnv.cases; auto)
apply (erule staticLiveChanEnv.cases; auto)
apply (erule staticLiveChanEnv.cases; auto)
apply (erule staticLiveChanEnv.cases; auto)
apply (drule_tac x = "f" in spec; auto)
apply (erule staticLiveChanVal.cases; auto)
apply (simp add: staticLiveChanEnv.simps)
apply (erule staticLiveChan.cases; auto; simp add: staticLiveChanStack.Nonempty)
apply (erule staticLiveChanPool.cases; auto)+
done
*)
sorry
lemma staticLiveChanPreservedMkChan:
"
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC Em \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x MkChn e) env k) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC (Em(pi @ [LNxt x] \<mapsto> Stt e (env(x \<mapsto> VChn (Ch pi x))) k))
"
apply (rule staticLiveChanPool.Intro; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticLiveChan.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (simp add: StaticLiveChan staticLiveChanEnv.simps)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
(*
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
done
*)
sorry
lemma staticLiveChanPoolPreservedSpawn:
"
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC Em \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x (Spwn ec) e) env k) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC (Em(pi @ [LNxt x] \<mapsto> Stt e (env(x \<mapsto> VUnt)) k, pi @ [LSpwn x] \<mapsto> Stt ec env []))
"
apply (rule staticLiveChanPool.Intro; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticLiveChan.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (simp add: StaticLiveChanUnit staticLiveChanEnv.simps)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (simp add: StaticLiveChanUnit staticLiveChanEnv.simps)
(*
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticLiveChan.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (simp add: staticLiveChanStack.Empty)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
done
*)
sorry
(* this might make a nice proof demonstration *)
lemma staticLiveChanPoolPreservedSync:
"
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC Em \<Longrightarrow>
leaf Em pis \<Longrightarrow>
Em pis = Some (Stt (Bind xs (Sync xse) es) envs ks) \<Longrightarrow>
envs xse = Some (VClsr (SendEvt xsc xm) envse) \<Longrightarrow>
leaf Em pir \<Longrightarrow>
Em pir = Some (Stt (Bind xr (Sync xre) er) envr kr) \<Longrightarrow>
envr xre = Some (VClsr (RecvEvt xrc) envre) \<Longrightarrow>
envse xsc = Some (VChn c) \<Longrightarrow>
envre xrc = Some (VChn c) \<Longrightarrow>
envse xm = Some vm \<Longrightarrow>
staticLiveChanPool V Ln Lx xC (Em(pis @ [LNxt xs] \<mapsto> Stt es (envs(xs \<mapsto> VUnt)) ks, pir @ [LNxt xr] \<mapsto> Stt er (envr(xr \<mapsto> vm)) kr))
"
apply (rule staticLiveChanPool.Intro; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule staticLiveChan.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (simp add: StaticLiveChanUnit staticLiveChanEnv.simps)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
(*
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (erule staticLiveChan.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (simp add: StaticLiveChanUnit staticLiveChanEnv.simps)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (erule staticLiveChan.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (erule staticLiveChan.cases; auto)
apply (rotate_tac 3)
apply (frule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (rotate_tac -2)
apply (erule staticLiveChanEnv.cases; auto)
apply (drule spec[of _ xse]; auto)
apply (rotate_tac -1)
apply (erule staticLiveChanVal.cases; auto)
apply (rotate_tac -1)
apply (erule staticLiveChanEnv.cases; auto)
apply (drule spec[of _ xm]; auto)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (simp add: staticLiveChanEnv.simps)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (frule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pis]; auto)
apply (rotate_tac -2)
apply (erule staticLiveChanEnv.cases; auto)
apply (drule spec[of _ xse]; auto)
apply (rotate_tac -1)
apply (erule staticLiveChanVal.cases; auto)
apply (rotate_tac -1)
apply (erule staticLiveChanEnv.cases; auto)
apply (drule spec[of _ xm]; auto)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pir]; auto)
apply (simp add: staticLiveChanEnv.simps)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
apply (rotate_tac 3)
apply (erule staticLiveChanPool.cases; auto)
done
*)
sorry
lemma staticLiveChanPoolPreservedDynamicEval:
"
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e0 Map.empty []] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e0 Map.empty []], {}) (Em, Hm) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC Em \<Longrightarrow>
dynamicEval (Em, Hm) (E, H) \<Longrightarrow>
staticLiveChanPool V Ln Lx xC E
"
apply (erule dynamicEval.cases; auto)
apply (simp add: staticLiveChanPoolPreservedReturn)
apply (simp add: staticLiveChanPoolPreservedSeqEval)
apply (simp add: staticLiveChanPoolPreservedCall)
apply (simp add: staticLiveChanPreservedMkChan)
apply (simp add: staticLiveChanPoolPreservedSpawn)
apply (simp add: staticLiveChanPoolPreservedSync)
done
lemma staticLiveChanPoolPreserved':
"
star_left dynamicEval EH0 EH \<Longrightarrow>
staticLiveChanPool V Ln Lx xC [[] \<mapsto> (Stt e0 empty [])] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
\<forall> E H .
EH0 = ([[] \<mapsto> (Stt e0 empty [])], {}) \<longrightarrow>
EH = (E, H) \<longrightarrow>
staticLiveChanPool V Ln Lx xC E
"
apply (erule star_left.induct; blast?)
apply (metis surj_pair staticLiveChanPoolPreservedDynamicEval)
done
lemma staticLiveChanPoolPreserved:
"
staticLiveChanPool V Ln Lx xC [[] \<mapsto> (Stt e0 empty [])] \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e0 \<Longrightarrow>
star dynamicEval ([[] \<mapsto> (Stt e0 empty [])], {}) (\<E>', H') \<Longrightarrow>
staticLiveChanPool V Ln Lx xC \<E>'
"
using star_implies_star_left staticLiveChanPoolPreserved' by fastforce
lemma staticLiveChanToPool:
"
staticLiveChan V Ln Lx xC e \<Longrightarrow>
staticLiveChanPool V Ln Lx xC [[] \<mapsto> (Stt e empty [])]
"
apply (rule staticLiveChanPool.intros; auto)
apply (simp add: staticLiveChanEnv.simps)
apply (simp add: staticLiveChanStack.Empty)
done
lemma staticBuiltOnChanSound:
"
dynamicBuiltOnChanVal v (Ch \<pi>C xC) \<Longrightarrow>
\<rho> n = Some v \<Longrightarrow>
pool pi = Some (Stt e' \<rho>' \<kappa>') \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>\<E> pool \<Longrightarrow>
staticLiveChanPool V Ln Lx xC pool \<Longrightarrow>
staticFlowsAcceptPool V F e0 pool \<Longrightarrow>
staticBuiltOnChan V xC n
"
sorry
lemma staticPathLivePoolSoundReturn:
"
(V, C) \<Turnstile>\<^sub>\<E> [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
staticFlowsAcceptPool V F e [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e Map.empty []], {}) (Em, Hm) \<Longrightarrow>
\<forall>\<pi>' e' env' stack' isEnd.
([[] \<mapsto> Stt e Map.empty []], {}) = ([[] \<mapsto> Stt e Map.empty []], {}) \<longrightarrow>
Em \<pi>' = Some (Stt e' env' stack') \<longrightarrow>
dynamicBuiltOnChanState (Stt e' env' stack') (Ch \<pi>C xC) \<longrightarrow>
isEnd (tmId e') \<longrightarrow> (\<exists>path. pathsCongruentModChan e (Ch \<pi>C xC) \<pi>' path \<and> staticPathLive F Ln Lx (IdBind xC) isEnd path) \<Longrightarrow>
(Em(pi @ [LRtn x] \<mapsto> Stt ek (envk(xk \<mapsto> v)) k)) \<pi>' = Some (Stt e' env' stack') \<Longrightarrow>
dynamicBuiltOnChanState (Stt e' env' stack') (Ch \<pi>C xC) \<Longrightarrow>
isEnd (tmId e') \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Rslt x) env (Ctn xk ek envk # k)) \<Longrightarrow>
env x = Some v \<Longrightarrow>
\<exists>path. pathsCongruentModChan e (Ch \<pi>C xC) \<pi>' path \<and> staticPathLive F Ln Lx (IdBind xC) isEnd path
"
apply (case_tac "\<pi>' = pi @ [LRtn x]"; auto)
apply (drule spec[of _ pi]; clarify?)
apply (drule spec[of _ "Rslt x"]; clarify?)
apply (drule spec[of _ "env"]; clarify?)
apply (drule spec[of _ "(Ctn xk ek envk # k)"]; clarify?)
apply (erule impE)
apply (erule dynamicBuiltOnChanState.cases; auto)
apply (erule dynamicBuiltOnChanEnv.cases; auto)
apply (case_tac "n = xk"; auto)
apply (rule dynamicBuiltOnChanState.Env)
apply (rule dynamicBuiltOnChanEnv_intro; auto)
apply (rule dynamicBuiltOnChanState.Stack)
apply (rule dynamicBuiltOnChanStack.Env)
apply (rule dynamicBuiltOnChanEnv_intro; auto)
apply (rule dynamicBuiltOnChanState.Stack)
apply (erule dynamicBuiltOnChanStack.Stack)
apply (drule_tac x = "\<lambda> id . id = IdRslt x" in spec; auto)
apply (rule_tac x = "path @ [(IdRslt x, EReturn)]" in exI; auto)
apply (rule pathsCongruentModChanPreservedSnoc; auto?)
using pathsCongruent.Empty pathsCongruent.Return apply fastforce
apply (rule staticPathLive.Edge; auto?)
apply (drule staticFlowsAcceptPoolPreserved[of V F e C Em Hm]; auto?)
apply (erule staticEvalPool.cases; auto?)
apply (drule spec[of _ "[]"]; auto)
apply (erule staticEvalState.cases; auto)
apply (simp add: star_left_implies_star)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptStack.cases; auto)
apply (drule staticLiveChanPoolPreserved[of V Ln Lx xC e C Em Hm]; auto?)
apply (erule staticEvalPool.cases; auto?)
apply (drule spec[of _ "[]"]; auto)
apply (erule staticEvalState.cases; auto)
apply (simp add: star_left_implies_star)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticLiveChanStack.cases; auto)
apply (drule staticLiveChanPoolPreserved[of V Ln Lx xC e C Em Hm]; auto?)
apply (erule staticEvalPool.cases; auto?)
apply (drule spec[of _ "[]"]; auto)
apply (erule staticEvalState.cases; auto)
apply (simp add: star_left_implies_star)
apply (erule staticLiveChanPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticLiveChanStack.cases; auto)
done
lemma staticPathsLivePoolSoundUnitEval:
"
(V, C) \<Turnstile>\<^sub>\<E> [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
staticFlowsAcceptPool V F e [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e Map.empty []], {}) (Em, Hm) \<Longrightarrow>
dynamicBuiltOnChanState (Stt e' (env(x \<mapsto> VUnt)) stack') (Ch \<pi>C xC) \<Longrightarrow>
isEnd (tmId e') \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x Unt e') env stack') \<Longrightarrow>
dynamicBuiltOnChanState (Stt (Bind x Unt e') env stack') (Ch \<pi>C xC) \<longrightarrow>
(\<forall>isEnd. isEnd (tmId (Bind x Unt e')) \<longrightarrow>
(\<exists>path. pathsCongruentModChan e (Ch \<pi>C xC) pi path \<and> staticPathLive F Ln Lx (IdBind xC) isEnd path)) \<Longrightarrow>
\<exists>path. pathsCongruentModChan e (Ch \<pi>C xC) (pi @ [LNxt x]) path \<and> staticPathLive F Ln Lx (IdBind xC) isEnd path
"
apply (erule impE)
apply (erule dynamicBuiltOnChanState.cases; auto)
apply (erule dynamicBuiltOnChanEnv.cases; auto)
apply (case_tac "n = x"; auto)
apply (erule dynamicBuiltOnChanVal.cases; blast)
apply (rule dynamicBuiltOnChanState.Env)
apply (rule dynamicBuiltOnChanEnv_intro[of env]; auto)
apply (rule dynamicBuiltOnChanState.Stack; auto)
apply (drule spec[of _ "\<lambda> id . id = IdBind x"]; auto)
apply (rule_tac x = "path @ [(IdBind x, ENext)]" in exI; auto)
using Next pathsCongruent.Empty pathsCongruentModChanPreservedSnoc apply fastforce
apply (drule staticFlowsAcceptPoolPreserved[of V F e C Em Hm])
apply (erule staticEvalPool.cases; auto?)
apply (drule spec[of _ "[]"]; auto)
apply (erule staticEvalState.cases; auto)
apply (simp add: star_left_implies_star)
apply (drule staticLiveChanPoolPreserved[of V Ln Lx xC e C Em Hm])
apply (erule staticEvalPool.cases; auto?)
apply (drule spec[of _ "[]"]; auto)
apply (erule staticEvalState.cases; auto)
apply (simp add: star_left_implies_star)
apply (rule staticPathLive.Edge; simp?)
apply (erule staticFlowsAcceptPool.cases; auto)
apply (drule spec[of _ pi]; auto)
apply (erule staticFlowsAcceptTm.cases; auto)
(***)
apply (erule staticLiveChanPool.cases; clarsimp)
apply (drule spec[of _ pi]; auto)
sorry
lemma staticPathLivePoolSoundSeqEval:
"
(V, C) \<Turnstile>\<^sub>\<E> [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
staticFlowsAcceptPool V F e [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e Map.empty []], {}) (Em, Hm) \<Longrightarrow>
\<forall>\<pi>' e' env' stack' isEnd.
([[] \<mapsto> Stt e Map.empty []], {}) = ([[] \<mapsto> Stt e Map.empty []], {}) \<longrightarrow>
Em \<pi>' = Some (Stt e' env' stack') \<longrightarrow>
dynamicBuiltOnChanState (Stt e' env' stack') (Ch \<pi>C xC) \<longrightarrow>
isEnd (tmId e') \<longrightarrow> (\<exists>path. pathsCongruentModChan e (Ch \<pi>C xC) \<pi>' path \<and> staticPathLive F Ln Lx (IdBind xC) isEnd path) \<Longrightarrow>
(Em(pi @ [LNxt x] \<mapsto> Stt ea (env(x \<mapsto> v)) k)) \<pi>' = Some (Stt e' env' stack') \<Longrightarrow>
dynamicBuiltOnChanState (Stt e' env' stack') (Ch \<pi>C xC) \<Longrightarrow>
isEnd (tmId e') \<Longrightarrow>
leaf Em pi \<Longrightarrow>
Em pi = Some (Stt (Bind x b ea) env k) \<Longrightarrow>
seqEval b env v \<Longrightarrow>
\<exists>path. pathsCongruentModChan e (Ch \<pi>C xC) \<pi>' path \<and> staticPathLive F Ln Lx (IdBind xC) isEnd path
"
apply (case_tac "\<pi>' = pi @ [LNxt x]"; auto)
apply (drule spec[of _ pi]; clarify?)
apply (drule spec[of _ "Bind x b e'"]; clarify?)
apply (drule spec[of _ env]; clarify?)
apply (drule spec[of _ stack']; clarify?)
apply (erule seqEval.cases; clarify)
apply (insert staticPathsLivePoolSoundUnitEval; auto)
sorry
lemma staticPathLivePoolSoundDynamicEval:
"
(V, C) \<Turnstile>\<^sub>\<E> [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
staticLiveChanPool V Ln Lx xC [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
staticFlowsAcceptPool V F e [[] \<mapsto> Stt e Map.empty []] \<Longrightarrow>
star_left op \<rightarrow> ([[] \<mapsto> Stt e Map.empty []], {}) (Em, Hm) \<Longrightarrow>
\<forall>\<pi>' e' env' stack' isEnd.
([[] \<mapsto> Stt e Map.empty []], {}) = ([[] \<mapsto> Stt e Map.empty []], {}) \<longrightarrow>
Em \<pi>' = Some (Stt e' env' stack') \<longrightarrow>
dynamicBuiltOnChanState (Stt e' env' stack') (Ch \<pi>C xC) \<longrightarrow>
isEnd (tmId e') \<longrightarrow>
(\<exists>path. pathsCongruentModChan e (Ch \<pi>C xC) \<pi>' path \<and> staticPathLive F Ln Lx (IdBind xC) isEnd path) \<Longrightarrow>
dynamicEval (Em, Hm) (E', H') \<Longrightarrow>
E' \<pi>' = Some (Stt e' env' stack') \<Longrightarrow>
dynamicBuiltOnChanState (Stt e' env' stack') (Ch \<pi>C xC) \<Longrightarrow>
isEnd (tmId e') \<Longrightarrow>
\<exists>path. pathsCongruentModChan e (Ch \<pi>C xC) \<pi>' path \<and> staticPathLive F Ln Lx (IdBind xC) isEnd path
"
apply (erule dynamicEval.cases; clarify?)
apply (insert staticPathLivePoolSoundReturn; auto)
apply (insert staticPathLivePoolSoundSeqEval; auto)
sorry
lemma staticPathLivePoolSound':
"
star_left dynamicEval EH EH' \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>\<E> [[] \<mapsto> (Stt e empty [])] \<Longrightarrow>
staticLiveChanPool V Ln Lx xC [[] \<mapsto> (Stt e empty [])] \<Longrightarrow>
staticFlowsAcceptPool V F e [[] \<mapsto> (Stt e empty [])] \<Longrightarrow>
\<forall> E' H' \<pi>' e' env' stack' isEnd .
EH = ([[] \<mapsto> (Stt e empty [])], {}) \<longrightarrow> EH' = (E', H') \<longrightarrow>
E' \<pi>' = Some (Stt e' env' stack') \<longrightarrow>
dynamicBuiltOnChanState (Stt e' env' stack') (Ch \<pi>C xC) \<longrightarrow>
isEnd (tmId e') \<longrightarrow>
(\<exists> path .
pathsCongruentModChan e (Ch \<pi>C xC) \<pi>' path \<and>
staticPathLive F Ln Lx (IdBind xC) isEnd path)
"
apply (erule star_left.induct; clarify)
apply (erule dynamicBuiltOnChanState.cases; auto)
apply (case_tac "\<pi>' = []"; auto)
apply (erule dynamicBuiltOnChanEnv.cases; auto)
apply (case_tac "\<pi>' = []"; auto)
apply (erule dynamicBuiltOnChanStack.cases; auto)
apply (insert staticPathLivePoolSoundDynamicEval; auto?)
done
lemma staticPathLivePoolSound:
"
\<E>' \<pi>' = Some (Stt e' \<rho>' \<kappa>') \<Longrightarrow>
dynamicBuiltOnChanState (Stt e' \<rho>' \<kappa>') (Ch \<pi>C xC) \<Longrightarrow>
star dynamicEval ([[] \<mapsto> (Stt e empty [])], {}) (\<E>', H') \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>\<E> [[] \<mapsto> (Stt e empty [])] \<Longrightarrow>
staticLiveChanPool V Ln Lx xC [[] \<mapsto> (Stt e empty [])] \<Longrightarrow>
staticFlowsAcceptPool V F e [[] \<mapsto> (Stt e empty [])] \<Longrightarrow>
isEnd (tmId e') \<Longrightarrow>
(\<exists> path .
pathsCongruentModChan e (Ch \<pi>C xC) \<pi>' path \<and>
staticPathLive F Ln Lx (IdBind xC) isEnd path)
"
apply (drule star_implies_star_left)
apply (insert staticPathLivePoolSound')
apply auto
done
lemma staticPathLiveSound: "
\<E>' \<pi>' = Some (Stt e' \<rho>' \<kappa>') \<Longrightarrow>
dynamicBuiltOnChanState (Stt e' \<rho>' \<kappa>') (Ch \<pi>C xC) \<Longrightarrow>
star dynamicEval ([[] \<mapsto> (Stt e empty [])], {}) (\<E>', H') \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e \<Longrightarrow>
staticLiveChan V Ln Lx xC e \<Longrightarrow>
staticFlowsAccept V F e \<Longrightarrow>
isEnd (tmId e') \<Longrightarrow>
\<exists> path .
pathsCongruentModChan e (Ch \<pi>C xC) \<pi>' path \<and>
staticPathLive F Ln Lx (IdBind xC) isEnd path
"
apply (drule staticEval_to_pool)
apply (drule staticFlowsAcceptToPool)
apply (drule staticLiveChanToPool)
apply (simp add: staticPathLivePoolSound)
done
lemma sendEvtBuiltOnChan:
"
env xe = Some (VClsr (SendEvt xsc xm) enve) \<Longrightarrow>
enve xsc = Some (VChn (Ch \<pi>C xC)) \<Longrightarrow>
dynamicBuiltOnChanEnv env (Ch \<pi>C xC)
"
by (simp add: dynamicBuiltOnChanEnv_intro dynamicBuiltOnChanVal_chan dynamicBuiltOnChanVal_closure)
lemma staticPathLiveSendSound: "
is_send_path \<E>' (Ch \<pi>C xC) \<pi>Sync \<Longrightarrow>
star dynamicEval ([[] \<mapsto> (Stt e empty [])], {}) (\<E>', H') \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e \<Longrightarrow>
staticLiveChan V Ln Lx xC e \<Longrightarrow>
staticFlowsAccept V F e \<Longrightarrow>
\<exists> pathSync .
(pathsCongruentModChan e (Ch \<pi>C xC) \<pi>Sync pathSync) \<and>
staticPathLive F Ln Lx (IdBind xC) (staticSendSite V e xC) pathSync
"
apply (unfold is_send_path.simps; auto)
apply (frule_tac x\<^sub>s\<^sub>c = xsc and \<pi>C = \<pi>C and \<rho>\<^sub>e = enve in staticSendSiteSound; auto?)
apply (frule staticPathLiveSound; auto?)
apply (metis dynamicBuiltOnChanState.Env sendEvtBuiltOnChan)
done
(* END PATH SOUND *)
theorem staticOneShotSound': "
forEveryTwo (staticPathLive F Ln Lx (IdBind xC) (staticSendSite V e xC)) singular \<Longrightarrow>
staticLiveChan V Ln Lx xC e \<Longrightarrow>
staticFlowsAccept V F e \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e \<Longrightarrow>
star dynamicEval ([[] \<mapsto> (Stt e empty [])], {}) (\<E>', H') \<Longrightarrow>
forEveryTwo (is_send_path \<E>' (Ch \<pi> xC)) op =
"
apply (simp add: forEveryTwo.simps singular.simps; auto)
apply (frule_tac \<pi>Sync = \<pi>1 in staticPathLiveSendSound; auto)
apply (drule_tac x = pathSync in spec)
apply (frule_tac \<pi>Sync = \<pi>2 in staticPathLiveSendSound; auto?)
apply (drule_tac x = pathSynca in spec)
apply (erule impE, simp)
apply (metis is_send_path_implies_nonempty_pool staticInclusiveSound static_equalitySound)
done
theorem staticOneShotSound: "
\<lbrakk>
staticOneShot e xC
\<rbrakk> \<Longrightarrow>
one_shot e (Ch \<pi> xC)
"
apply (erule staticOneShot.cases; auto)
apply (unfold one_shot.simps)
using staticOneShotSound' apply fastforce
done
(*
TO DO LATER:
*)
theorem noncompetitive_send_to_ordered_send: "
forEveryTwo (staticPathLive F Ln Lx (IdBind xC) (staticSendSite V e xC)) noncompetitive \<Longrightarrow>
staticLiveChan V Ln Lx xC e \<Longrightarrow>
staticFlowsAccept V F e \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e \<Longrightarrow>
star dynamicEval ([[] \<mapsto> (Stt e empty [])], {}) (\<E>', H') \<Longrightarrow>
forEveryTwo (is_send_path \<E>' (Ch \<pi> xC)) ordered
"
sorry
theorem staticOneToManySound: "
\<lbrakk>
staticOneToMany e xC
\<rbrakk> \<Longrightarrow>
fan_out e (Ch \<pi> xC)
"
apply (erule staticOneToMany.cases; auto)
apply (unfold fan_out.simps)
using noncompetitive_send_to_ordered_send apply fastforce
done
lemma noncompetitive_recv_to_ordered_recv:
"
forEveryTwo (staticPathLive F Ln Lx (IdBind xC) (staticRecvSite V e xC)) noncompetitive \<Longrightarrow>
staticFlowsAccept V F e \<Longrightarrow>
(V, C) \<Turnstile>\<^sub>e e \<Longrightarrow>
star dynamicEval ([[] \<mapsto> (Stt e empty [])], {}) (\<E>', H') \<Longrightarrow>
forEveryTwo (is_recv_path \<E>' (Ch \<pi> xC)) ordered
"
sorry
theorem staticManyToOneSound: "
\<lbrakk>
staticManyToOne e xC
\<rbrakk> \<Longrightarrow>
fan_in e (Ch \<pi> xC)
"
apply (erule staticManyToOne.cases; auto)
apply (unfold fan_in.simps)
using noncompetitive_recv_to_ordered_recv apply fastforce
done
theorem staticOneToOneSound: "
\<lbrakk>
staticOneToOne e xC
\<rbrakk> \<Longrightarrow>
one_to_one e (Ch \<pi> xC)
"
apply (erule staticOneToOne.cases; auto)
apply (unfold one_to_one.simps)
apply (metis fan_out.cases noncompetitive_recv_to_ordered_recv staticOneToMany.intros staticOneToManySound)
done
theorem staticOneSyncSound:
"
staticOneSync e xC \<Longrightarrow>
one_sync e (Ch \<pi> xC)"
apply (erule staticOneSync.cases; auto)
apply (unfold one_sync.simps; auto)
using
fan_in.simps fan_out.simps noncompetitive_recv_to_ordered_recv noncompetitive_send_to_ordered_send
apply (metis star.refl staticOneShotSound')
done
end
|
typedef 8 NumInputs;
typedef 8 StimSize;
typedef 11 StimMemAddrSize;
typedef 100 CyclesResolution;
typedef 10000000 CyclesStimRate;
Integer defaultWordPeriod = 200000;
Integer chWord = 0; // input channel on which words are matched
typedef 15 Log2LedPersistence;
typedef 7 Log2ErrorBlink;
// `NumInput` flags for displaying input pulses,
// 1 flag for the "stimuli update" pulse, and
// 1 flag for "word was matched"
typedef TAdd#(2, NumInputs) NumFlags;
Integer stimMemAddrSize = valueOf(StimMemAddrSize);
typedef Bit#(StimMemAddrSize) StimMemAddr;
typedef Bit#(StimSize) Stim;
typedef TAdd#(StimMemAddrSize, 1) AvalonAddrSize;
typedef 32 AvalonDataSize;
typedef Bit#(AvalonDataSize) Word;
typedef Word TimeStamp;
|
use Test::More;
use Test::Exception;
use YAML::PP qw/LoadFile/;
use File::Spec;
use Set::Scalar;
use lib '../lib';
use Log::Log4perl::Level;
use ICDC::MakeModel;
use Tie::IxHash;
my $samplesd = File::Spec->catdir( (-d 't' ? 't' : '.'), 'samples' );
my (@n, @r);
# check delete_paths
tie my %t, 'Tie::IxHash';
%t = ( foo => [ 'bar', 'baz', '/grelb' ],
bar => { spam => { and => 'eggs' },
'/boog' => { this => [qw/should be gone/] } },
baz => [ qw/further data here/] );
my @del = ICDC::MakeModel::delete_paths( \%t );
is_deeply [@del], [ ['{foo}[2]','grelb'], ['{bar}{boog}','boog']], 'delete paths';
$mod_y = LoadFile(File::Spec->catdir($samplesd,"icdc-model.yml"));
$specced_props = Set::Scalar->new( @{$mod_y->{Nodes}{prior_therapy}{Props}} );
$obj = ICDC::MakeModel->new(LOG_LEVEL=>$FATAL);
$obj->read_input( File::Spec->catdir($samplesd,"icdc-model.yml"),
File::Spec->catdir($samplesd,"icdc-model-props.yml"));
diag "check original (before overlay)";
$nodes = Set::Scalar->new($obj->nodes);
ok $nodes->has('demographic'), "demographic node present...";
$d_props = Set::Scalar->new(map {$_->name} $obj->get_node('demographic')->props);
ok $d_props->has('breed'), "...has 'breed' property";
ok !$d_props->has('species'), "...but has no 'species' property";
ok $nodes->has('cycle'), "cycle node present";
$del_pt_props = Set::Scalar->new(qw/total_dose therapy_type total_number_of_doses_steroid/);
$pt_props = Set::Scalar->new(map {$_->name} $obj->get_node('prior_therapy')->props);
ok $specced_props->is_subset($pt_props), "prior_therapy has all specified props...";
ok $del_pt_props->is_subset($pt_props), "including props to be deleted";
diag "check overlay...";
$obj = ICDC::MakeModel->new(LOG_LEVEL=>$FATAL);
$obj->read_input( File::Spec->catdir($samplesd,"icdc-model.yml"),
File::Spec->catdir($samplesd,"icdc-model-props.yml"),
File::Spec->catdir($samplesd,"deleting-overlay.yml"),
);
# check merge is correct - following data appear in overlay but not basic model
$got_nodes = Set::Scalar->new($obj->nodes);
$got_d_props = Set::Scalar->new(map {$_->name} $obj->get_node('demographic')->props);
$got_pt_props = Set::Scalar->new(map {$_->name} $obj->get_node('prior_therapy')->props);
ok !$got_nodes->has('cycle'), "now cycle DNE";
ok !$got_d_props->has('breed'), "demographics no longer has 'breed' prop...";
ok $got_d_props->has('species'), "but now has 'species' property";
ok $del_pt_props->is_disjoint($got_pt_props), "prior_therapy props to be deleted are gone...";
ok $got_pt_props->has('fred'), ".. and there's fred";
done_testing;
|
package routers
import (
"encoding/json"
"io"
"net/http"
"path"
"github.com/gorilla/mux"
"github.com/sensu/sensu-go/backend/apid/actions"
)
type errorBody struct {
Message string `json:"message"`
Code uint32 `json:"code"`
}
// RespondWith given writer and resource, marshal to JSON and write response.
func RespondWith(w http.ResponseWriter, r *http.Request, resources interface{}) {
// Set content-type to JSON
w.Header().Set("Content-Type", "application/json")
// If no resource(s) are present return a 204 response code
if resources == nil {
if r.Method == http.MethodPost || r.Method == http.MethodPut {
w.WriteHeader(http.StatusCreated)
} else {
w.WriteHeader(http.StatusNoContent)
}
return
}
// Marshal
bytes, err := json.Marshal(resources)
if err != nil {
WriteError(w, err)
return
}
// Write response
if _, err := w.Write(bytes); err != nil {
logger.WithError(err).Error("failed to write response")
WriteError(w, err)
}
}
// WriteError writes error response in JSON format.
func WriteError(w http.ResponseWriter, err error) {
const fallback = `{"message": "failed to marshal error message"}`
errBody := errorBody{}
st := http.StatusInternalServerError
// Wrap message in standard errorBody
actionErr, ok := err.(actions.Error)
if ok {
errBody.Message = actionErr.Message
errBody.Code = uint32(actionErr.Code)
st = HTTPStatusFromCode(actionErr.Code)
} else {
errBody.Message = err.Error()
}
// Prevent browser from doing mime-sniffing
w.Header().Set("X-Content-Type-Options", "nosniff")
// Marshall error message to JSON
errJSON, err := json.Marshal(errBody)
if err != nil {
logEntry := logger.WithField("errBody", errBody).WithError(err)
logEntry.Error("failed to serialize error body")
w.WriteHeader(http.StatusInternalServerError)
if _, err := io.WriteString(w, fallback); err != nil {
logEntry = logger.WithError(err)
logEntry.Error("failed to write response")
}
return
}
// Write error message in JSON encoded message
w.WriteHeader(st)
_, _ = w.Write(errJSON)
}
// HTTPStatusFromCode returns http status code for given user action err code
func HTTPStatusFromCode(code actions.ErrCode) int {
switch code {
case actions.InternalErr:
return http.StatusInternalServerError
case actions.InvalidArgument:
return http.StatusBadRequest
case actions.NotFound:
return http.StatusNotFound
case actions.AlreadyExistsErr:
return http.StatusConflict
case actions.PaymentRequired:
return http.StatusPaymentRequired
}
logger.WithField("code", code).Error("unknown error code")
return http.StatusInternalServerError
}
//
// actionHandler takes a action handler closure and returns a new handler that
// exexutes the closure and writes the response.
//
// Ex.
//
// handler := actionHandler(func(r *http.Request) (interface{}, error) {
// msg := r.Vars("message")
// if msg == "i-am-a-jerk" {
// return nil, errors.New("fatal err")
// }
// return strings.Split(msg, "-"), nil
// })
// router.handleFunc("/echo/{message}", handler).Methods(http.MethodGet)
//
// GET /echo/hey --> 200 OK ["hey"]
// GET /echo/hey-there --> 200 OK ["howdy", "there"]
// GET /echo/i-am-a-jerk --> 500 {code: 500, message: "fatal err"}
//
func actionHandler(action actionHandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
resources, err := action(r)
if err != nil {
WriteError(w, err)
return
}
RespondWith(w, r, resources)
}
}
// listHandler is still used by silenced entries.
// TODO(palourde): Add pagination to silenced entries
func listHandler(fn listHandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
resources, err := fn(w, r)
if err != nil {
WriteError(w, err)
return
}
RespondWith(w, r, resources)
}
}
type actionHandlerFunc func(r *http.Request) (interface{}, error)
type listHandlerFunc func(w http.ResponseWriter, req *http.Request) (interface{}, error)
//
// ResourceRoute mounts resources in a convetional RESTful manner.
//
// routes := ResourceRoute{PathPrefix: "checks", Router: ...}
// routes.Get(myShowAction) // given action is mounted at GET /checks/:id
// routes.List(myIndexAction) // given action is mounted at GET /checks
// routes.Put(myCreateAction) // given action is mounted at PUT /checks/:id
// routes.Patch(myUpdateAction) // given action is mounted at PATCH /checks/:id
// routes.Post(myCreateAction) // given action is mounted at POST /checks
// routes.Del(myCreateAction) // given action is mounted at DELETE /checks/:id
// routes.Path("{id}/publish", publishAction).Methods(http.MethodDelete) // when you need something customer
//
type ResourceRoute struct {
Router *mux.Router
PathPrefix string
}
// Get reads
func (r *ResourceRoute) Get(fn actionHandlerFunc) *mux.Route {
return r.Path("{id}", fn).Methods(http.MethodGet)
}
// List resources
func (r *ResourceRoute) List(fn ListControllerFunc, fields FieldsFunc) *mux.Route {
return r.Router.HandleFunc(r.PathPrefix, listerHandler(fn, fields)).Methods(http.MethodGet)
}
// ListAllNamespaces return all resources across all namespaces
func (r *ResourceRoute) ListAllNamespaces(fn ListControllerFunc, path string, fields FieldsFunc) *mux.Route {
return r.Router.HandleFunc(path, listerHandler(fn, fields)).Methods(http.MethodGet)
}
// Post creates
func (r *ResourceRoute) Post(fn actionHandlerFunc) *mux.Route {
return r.Path("", fn).Methods(http.MethodPost)
}
// TODO: uncomment this and use it once controller update fits
// http patch semantics.
// Patch updates/modifies
//func (r *ResourceRoute) Patch(fn actionHandlerFunc) *mux.Route {
// return r.path("{id}", fn).Methods(http.MethodPatch)
//}
// Put updates/replaces
func (r *ResourceRoute) Put(fn actionHandlerFunc) *mux.Route {
return r.Path("{id}", fn).Methods(http.MethodPut)
}
// Del deletes
func (r *ResourceRoute) Del(fn actionHandlerFunc) *mux.Route {
return r.Path("{id}", fn).Methods(http.MethodDelete)
}
// Path adds custom path
func (r *ResourceRoute) Path(p string, fn actionHandlerFunc) *mux.Route {
fullPath := path.Join(r.PathPrefix, p)
return handleAction(r.Router, fullPath, fn)
}
func handleAction(router *mux.Router, path string, fn actionHandlerFunc) *mux.Route {
return router.HandleFunc(path, actionHandler(fn))
}
// UnmarshalBody decodes the request body
func UnmarshalBody(req *http.Request, record interface{}) error {
err := json.NewDecoder(req.Body).Decode(&record)
if err != nil {
logger.WithError(err).Error("unable to read request body")
return err
}
// TODO: Support other types of requests other than JSON?
return nil
}
|
unsorted_dv = DataVector[2, 1, NA]
sorted_dv = DataVector[NA, 1, 2]
@assert isequal(sort(unsorted_dv), sorted_dv)
@assert isequal(sortperm(unsorted_dv), [3, 2, 1])
# TODO: Make this work
# tiedrank(dv)
@assert first(unsorted_dv) == 2
@assert isna(last(unsorted_dv))
|
module tests/podrwposwr055
open program
open model
/**
PPC podrwposwr055
"Fre SyncdWW Rfe SyncdRW Wse SyncdWW Rfe PodRW PosWR"
Cycle=Fre SyncdWW Rfe SyncdRW Wse SyncdWW Rfe PodRW PosWR
Relax=[PodRW,PosWR]
Safe=Fre Wse SyncdRW BCSyncdWW
{
0:r2=a; 0:r4=x;
1:r2=x; 1:r4=y;
2:r2=y; 2:r4=z;
3:r2=z; 3:r4=a;
}
P0 | P1 | P2 | P3 ;
li r1,2 | lwz r1,0(r2) | li r1,2 | lwz r1,0(r2) ;
stw r1,0(r2) | sync | stw r1,0(r2) | li r3,1 ;
sync | li r3,1 | sync | stw r3,0(r4) ;
li r3,1 | stw r3,0(r4) | li r3,1 | lwz r5,0(r4) ;
stw r3,0(r4) | | stw r3,0(r4) | ;
exists
(a=2 /\ y=2 /\ 1:r1=1 /\ 3:r1=1 /\ 3:r5=1)
**/
one sig a, x, y, z extends Location {}
one sig P1, P2, P3, P4 extends Processor {}
one sig op1 extends Write {}
one sig op2 extends Sync {}
one sig op3 extends Write {}
one sig op4 extends Read {}
one sig op5 extends Sync {}
one sig op6 extends Write {}
one sig op7 extends Write {}
one sig op8 extends Sync {}
one sig op9 extends Write {}
one sig op10 extends Read {}
one sig op11 extends Write {}
one sig op12 extends Read {}
fact {
P1.write[1, op1, a, 2]
P1.sync[2, op2]
P1.write[3, op3, x, 1]
P2.read[4, op4, x, 1]
P2.sync[5, op5]
P2.write[6, op6, y, 1]
P3.write[7, op7, y, 2]
P3.sync[8, op8]
P3.write[9, op9, z, 1]
P4.read[10, op10, z, 1]
P4.write[11, op11, a, 1]
P4.read[12, op12, a, 1]
}
fact {
a.final[2]
y.final[2]
}
Allowed:
run { Allowed_PPC } for 5 int expect 1 |
connect -url tcp:127.0.0.1:3121
source /home/stone/fpga/ws2811fade/ws2811fade.sdk/LEDcpu_wrapper_hw_platform_0/ps7_init.tcl
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent Zed 210248450832"} -index 0
loadhw -hw /home/stone/fpga/ws2811fade/ws2811fade.sdk/LEDcpu_wrapper_hw_platform_0/system.hdf -mem-ranges [list {0x40000000 0xbfffffff}]
configparams force-mem-access 1
targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Digilent Zed 210248450832"} -index 0
stop
ps7_init
ps7_post_config
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent Zed 210248450832"} -index 0
rst -processor
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent Zed 210248450832"} -index 0
dow /home/stone/fpga/ws2811fade/ws2811fade.sdk/ledTest/Debug/ledTest.elf
configparams force-mem-access 0
targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Digilent Zed 210248450832"} -index 0
con
|
theory TestSdiv
imports Main "../ContractSem"
begin
declare eval_annotation_def [simp]
definition this_address :: address
where "this_address = undefined"
abbreviation test_sdiv_code :: "inst list"
where
"test_sdiv_code ==
Stack (PUSH_N [255])
# Stack (PUSH_N [2])
# Arith EXP
# Dup 1
# Annotation (\<lambda> aenv. length (aenv_stack aenv) = 2)
# Stack (PUSH_N [0])
# Bits inst_NOT
# Swap 1
# Annotation (\<lambda> aenv. length (aenv_stack aenv) = 3)
# Sarith SDIV
# Annotation (\<lambda> aenv. length (aenv_stack aenv) = 2)
# Annotation (\<lambda> aenv. (aenv_stack aenv ! 0) = (aenv_stack aenv ! 1))
# Misc STOP
# []"
abbreviation test_sdiv_account_state :: "account_state"
where
"test_sdiv_account_state ==
\<lparr> account_address = this_address
, account_storage = \<lambda> _. 0
, account_code = test_sdiv_code
, account_balance = 0
, account_ongoing_calls = []
\<rparr>"
abbreviation test_sdiv_spec :: "response_to_world"
where
" test_sdiv_spec ==
\<lparr> when_called = \<lambda> _. (ContractReturn [],
\<lambda> a. True)
, when_returned = \<lambda> _. (ContractFail,
\<lambda> a. True)
, when_failed = (ContractFail,
\<lambda> a. True)
\<rparr>
"
value "32 div sint (max_word :: uint)"
lemma test_sdiv_correct:
"
account_state_responds_to_world
(\<lambda> a. a = test_sdiv_account_state)
test_sdiv_spec
"
apply(rule AccountStep; auto)
apply(case_tac steps; auto)
apply(simp add:max_word_def)
apply(simp add:max_word_def)
done
end
|
import os
from pathlib import Path
def setup():
import sys
import os
from pathlib import Path
currentdir = os.path.abspath(Path.cwd())
parentdir = os.path.dirname(currentdir)
srcdir = os.path.join(parentdir, 'src')
if sys.path[0] != parentdir:
sys.path.insert(0, parentdir)
print(f"Added {parentdir} to path")
if sys.path[1] != srcdir:
sys.path.insert(1, srcdir)
print(f"Added {srcdir} to path")
PROJECT_PATH = str(Path.cwd().parent)
DATA_PATH = os.path.join(PROJECT_PATH, "data/")
MODELS_PATH = os.path.join(PROJECT_PATH, "models/")
DATASET_PATH = os.path.join(PROJECT_PATH, "data/dataset/")
SRC_0_PATH = os.path.join(PROJECT_PATH, "data/dataset/src_0/")
SRC_1_PATH = os.path.join(PROJECT_PATH, "data/dataset/src_1/")
SRC_2_PATH = os.path.join(PROJECT_PATH, "data/dataset/src_2/")
TRAIN_PATH = os.path.join(PROJECT_PATH, "data/dataset/train/")
TRAIN_NORMAL_PATH = os.path.join(PROJECT_PATH, "data/dataset/train/normal/")
TRAIN_LGG_PATH = os.path.join(PROJECT_PATH, "data/dataset/train/lgg/")
TRAIN_HGG_PATH = os.path.join(PROJECT_PATH, "data/dataset/train/hgg/")
TEST_PATH = os.path.join(PROJECT_PATH, "data/dataset/test/")
TEST_NORMAL_PATH = os.path.join(PROJECT_PATH, "data/dataset/test/normal/")
TEST_LGG_PATH = os.path.join(PROJECT_PATH, "data/dataset/test/lgg/")
TEST_HGG_PATH = os.path.join(PROJECT_PATH, "data/dataset/test/hgg/")
VALID_PATH = os.path.join(PROJECT_PATH, "data/dataset/valid/")
VALID_NORMAL_PATH = os.path.join(PROJECT_PATH, "data/dataset/valid/normal/")
VALID_LGG_PATH = os.path.join(PROJECT_PATH, "data/dataset/valid/lgg/")
VALID_HGG_PATH = os.path.join(PROJECT_PATH, "data/dataset/valid/hgg/")
AUG_TRAIN_PATH = os.path.join(PROJECT_PATH, "data/dataset/aug_train/")
AUG_TRAIN_NORMAL_PATH = os.path.join(
PROJECT_PATH, "data/dataset/aug_train/normal/"
)
AUG_TRAIN_LGG_PATH = os.path.join(PROJECT_PATH, "data/dataset/aug_train/lgg/")
AUG_TRAIN_HGG_PATH = os.path.join(PROJECT_PATH, "data/dataset/aug_train/hgg/")
|
{
"id": "75113d2f-0311-47b8-9095-7e494a84f0ae",
"modelName": "GMFolder",
"mvc": "1.1",
"name": "75113d2f-0311-47b8-9095-7e494a84f0ae",
"children": [
],
"filterType": "GMIncludedFile",
"folderName": "datafiles",
"isDefaultView": false,
"localisedFolderName": "ResourceTree_IncludedFiles"
} |
set(CMAKE_HOST_SYSTEM "Windows-10.0.19042")
set(CMAKE_HOST_SYSTEM_NAME "Windows")
set(CMAKE_HOST_SYSTEM_VERSION "10.0.19042")
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
include("C:/Users/HBWang/AppData/Local/Android/Sdk/ndk/20.0.5594570/build/cmake/android.toolchain.cmake")
set(CMAKE_SYSTEM "Android-1")
set(CMAKE_SYSTEM_NAME "Android")
set(CMAKE_SYSTEM_VERSION "1")
set(CMAKE_SYSTEM_PROCESSOR "aarch64")
set(CMAKE_CROSSCOMPILING "TRUE")
set(CMAKE_SYSTEM_LOADED 1)
|
#!/bin/bash
# Copyright Matus Chochlik.
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt
#
install_prefix="$(<$(dirname ${0})/../INSTALL_PREFIX)"
variant=${1:-007}
log_args=("--use-asio-nw-log" "--min-log-severity" "stat")
conn_type="--msg-bus-asio-local-stream"
ping_addr="/tmp/ping_reg"
#
pids=()
#
"$(dirname ${0})/../tools/xml_logs-opt.sh" \
"--plot-charts" \
& pids+=($!)
sleep 1
#
${install_prefix}/bin/eagine-message_bus-router \
"${log_args[@]}" \
${conn_type} \
--msg-bus-router-address ${ping_addr} \
--msg-bus-router-id-major 1000 \
--msg-bus-router-id-count 1000 \
--msg-bus-router-shutdown-verify false \
& pids+=($!)
sleep 1
${install_prefix}/share/oglplus/examples/eagine-007_ping \
"${log_args[@]}" \
${conn_type} \
--msg-bus-router-address ${ping_addr} \
--ping-count ${2:-1M} \
& pids+=($!)
sleep 5
${install_prefix}/share/oglplus/examples/eagine-${variant}_pong_registry \
"${log_args[@]}" \
${conn_type} \
--msg-bus-router-address ${ping_addr} \
--ponger-count ${3:-4} \
--msg-bus-router-id-major 2000 \
--msg-bus-router-id-count 1000 \
& pids+=($!)
for pid in ${pids[@]}
do wait ${pid}
done
|
# $FreeBSD$
BEGIN {
print "# Warning: Do not edit. This is automatically extracted"
print "# from CLDR project data, obtained from http://cldr.unicode.org/"
print "# -----------------------------------------------------------------------------"
}
$1 == "comment_char" { print $0 }
$1 == "escape_char" { print $0 }
$1 == "LC_COLLATE" {
print $0
while (getline line) {
print line
if (line == "END LC_COLLATE") {
break
}
}
}
|
/*
* Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion int getUint8(int byteOffset)
* ...
* Throws [RangeError] if [byteOffset] is negative, or greater than or equal to
* the length of this object.
* @description Checks that an error is thrown if [byteOffset] is greater
* than or equal to the length of this object.
* @author msyabro
* @issue 43196
*/
import "dart:typed_data";
import "../../../Utils/expect.dart";
main() {
var byteData = new ByteData(5);
Expect.throws(() { byteData.getUint8(5 ); });
Expect.throws(() { byteData.getUint8(10); });
}
|
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 10.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLength[ 254315, 6864]
NotebookOptionsPosition[ 221359, 6293]
NotebookOutlinePosition[ 221699, 6308]
CellTagsIndexPosition[ 221656, 6305]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[CellGroupData[{
Cell["1st Basis", "Section",
CellChangeTimes->{{3.701714108272962*^9, 3.7017141141971817`*^9},
3.701716301801363*^9},ExpressionUUID->"1db6d3aa-9349-4ee9-bfdf-\
b5d4a2553051"],
Cell["\<\
a1 = {-0.5,1,1.5}
a2={0.5,-1,1.5}
a3={0.5,1,-1.5}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.7017169706632433`*^9,
3.70171698638174*^9}},ExpressionUUID->"6b29881a-e9ff-4fdb-a9b3-\
a7aa71581cbf"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "1"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "1"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9, 3.7017164511707087`*^9}, {
3.701716991100751*^9,
3.7017170445253468`*^9}},ExpressionUUID->"33a8d7eb-354f-4a0d-a0c6-\
9350f633ba37"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"b609716b-6880-4a5f-b4d9-\
20299fabdd13"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], "a"]}], "}"}]], "Output",
CellChangeTimes->{3.701478683505603*^9, 3.701479652384358*^9,
3.701631072638094*^9, 3.701631471856185*^9, 3.7016872647481422`*^9,
3.701687394012381*^9, 3.701687477281389*^9, 3.701688491098473*^9,
3.701716452750556*^9,
3.701717045948365*^9},ExpressionUUID->"8e7fba10-4a31-4e3c-864e-\
d6a172d585fb"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"4e83e915-5010-43d3-a630-\
3b872b451154"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], "a"]}], "}"}]], "Output",
CellChangeTimes->{3.701478699539103*^9, 3.701479655185692*^9,
3.7016310736725063`*^9, 3.7016314728270597`*^9, 3.701687265547572*^9,
3.701687394754797*^9, 3.70168747807813*^9, 3.701688492509454*^9,
3.70171645631732*^9,
3.701717046877164*^9},ExpressionUUID->"01204e57-5adf-4e4f-bb81-\
62cdb9030a0a"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"60b096af-6665-4289-8e99-\
03be154f7ce4"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox["f", "a"]}], "}"}]], "Output",
CellChangeTimes->{3.7014787135516376`*^9, 3.701479656928358*^9,
3.70163107470499*^9, 3.7016314737152452`*^9, 3.70168726639767*^9,
3.701687397996745*^9, 3.701687478783451*^9, 3.701688493658066*^9,
3.701716457310953*^9,
3.7017170476765757`*^9},ExpressionUUID->"95dd31d9-f7a2-43b8-9428-\
a753abd74357"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"5d283ac8-1122-4717-b73a-\
766489388038"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+", "b", "+", "d"}], "c"], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+", "d", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], ")"}]}], "a"]}], "c"]}],
"}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9,
3.701717051067916*^9},ExpressionUUID->"9b13450a-1c75-4a7b-a4cf-\
3e24c947e456"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"afe59012-aa77-45ab-b779-\
de137ee28c7a"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox["e", "c"], ",", "0", ",",
FractionBox[
RowBox[{"e", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], ")"}]}], "a"]}], "c"]}],
"}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9,
3.7017170519600687`*^9},ExpressionUUID->"7b01fa32-389c-46ec-9a45-\
4151ea204c59"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"1651d1eb-9db8-441b-868a-\
779c20e2ea97"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox["f", "c"], ",", "0", ",",
FractionBox[
RowBox[{"f", "-",
FractionBox[
RowBox[{"b", " ", "f"}], "a"]}], "c"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9,
3.701717052924176*^9},ExpressionUUID->"fd273ecc-ad67-4d30-9de7-\
7b60b815f4e2"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"11341060-1233-4525-a8ea-\
5b81dc212a4c"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+", "b", "+", "d", "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "a"}], "+", "b", "+", "d"}], ")"}], " ", "e"}], "c"]}],
"f"], ",", "0", ",",
FractionBox[
RowBox[{"d", "-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], ")"}]}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "a"}], "+", "d", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], ")"}]}], "a"]}], ")"}], " ",
"e"}], "c"]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9,
3.7017170538056498`*^9},ExpressionUUID->"0c80cc35-9cea-48b6-aa87-\
386895c56725"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"5b226843-0b54-49e1-b47f-\
04283f79ad06"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"c", "-",
FractionBox[
SuperscriptBox["e", "2"], "c"]}], "f"], ",", "0", ",",
FractionBox[
RowBox[{"e", "-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], ")"}]}], "a"], "-",
FractionBox[
RowBox[{"e", " ",
RowBox[{"(",
RowBox[{"e", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], ")"}]}], "a"]}], ")"}]}], "c"]}],
"f"]}], "}"}]], "Output",
CellChangeTimes->{3.701478885162715*^9, 3.701479497157612*^9,
3.701479671880685*^9, 3.701631082608848*^9, 3.701631480971312*^9,
3.7016872705196466`*^9, 3.701687402337384*^9, 3.701687482792966*^9,
3.701688499034272*^9, 3.701716466305504*^9,
3.701717055015724*^9},ExpressionUUID->"508b698e-a9db-43f4-bb84-\
f5da6539b7be"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["2nd Basis", "Section",
CellChangeTimes->{{3.701714108272962*^9, 3.7017141141971817`*^9},
3.701716301801363*^9, {3.7017164774352303`*^9,
3.70171647898638*^9}},ExpressionUUID->"5780317b-080c-4991-8df8-\
a805fb8a465a"],
Cell["\<\
a1 = {1,0,0}
a2={0,2,0}
a3={0.5,1,1.5}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701717127849948*^9,
3.7017171477852173`*^9}},ExpressionUUID->"01ff92f3-e35e-4b1d-a98b-\
a4691fb6e8bb"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{"1", ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9, 3.7017164511707087`*^9}, {
3.7017165339735413`*^9, 3.7017165900217037`*^9}, {3.701717161322535*^9,
3.701717215174902*^9}},ExpressionUUID->"a055997b-8cd8-42ba-8942-\
8bd750fa0d6b"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"967925ab-576e-442f-9795-\
a202977b27f7"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["d", "a"]}], ",", "0", ",",
RowBox[{"-",
FractionBox["d", "a"]}]}], "}"}]], "Output",
CellChangeTimes->{3.701478683505603*^9, 3.701479652384358*^9,
3.701631072638094*^9, 3.701631471856185*^9, 3.7016872647481422`*^9,
3.701687394012381*^9, 3.701687477281389*^9, 3.701688491098473*^9,
3.701716452750556*^9, 3.701716619317025*^9,
3.701717216501*^9},ExpressionUUID->"f49bd9d2-cb30-4ac3-ad07-4f3a1f9525ab"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"6655e3f7-ae9d-4fbc-b064-\
b46f225b4053"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["e", "a"]}], ",", "0", ",",
RowBox[{"-",
FractionBox["e", "a"]}]}], "}"}]], "Output",
CellChangeTimes->{3.701478699539103*^9, 3.701479655185692*^9,
3.7016310736725063`*^9, 3.7016314728270597`*^9, 3.701687265547572*^9,
3.701687394754797*^9, 3.70168747807813*^9, 3.701688492509454*^9,
3.70171645631732*^9, 3.701716620283637*^9,
3.701717217817004*^9},ExpressionUUID->"22c957a3-61f1-4d26-a0bc-\
0d61dfa4ae09"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"0caa2e8b-896d-43b9-b002-\
d4993863b26d"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["f", "a"]}], ",", "0", ",",
RowBox[{"-",
FractionBox["f", "a"]}]}], "}"}]], "Output",
CellChangeTimes->{3.7014787135516376`*^9, 3.701479656928358*^9,
3.70163107470499*^9, 3.7016314737152452`*^9, 3.70168726639767*^9,
3.701687397996745*^9, 3.701687478783451*^9, 3.701688493658066*^9,
3.701716457310953*^9, 3.701716621091569*^9,
3.701717218691959*^9},ExpressionUUID->"4ff092c1-6bd9-4be5-9fbc-\
ab90d55cfdd0"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"79270706-3e90-4478-8f66-\
594b12720e8e"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "d"}], "+",
FractionBox[
RowBox[{"b", " ", "d"}], "a"]}], "c"], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "b"}], "+",
FractionBox[
RowBox[{"b", " ", "d"}], "a"]}], "c"]}], "}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.7017172217650623`*^9},ExpressionUUID->"b17ad0dd-5e27-48c8-ae4a-\
8e94ee20a3e9"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"de0b4c68-a1b7-4924-ae9a-\
e9db44ff1c59"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "e"}], "+",
FractionBox[
RowBox[{"b", " ", "e"}], "a"]}], "c"], ",", "0", ",",
FractionBox[
RowBox[{"b", " ", "e"}],
RowBox[{"a", " ", "c"}]]}], "}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9,
3.701717222799102*^9},ExpressionUUID->"39969514-9b1e-4f75-9fc8-\
c1e901420653"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"2ee4f9aa-d92d-4166-b5ed-\
462ccdf76a2f"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "f"}], "+",
FractionBox[
RowBox[{"b", " ", "f"}], "a"]}], "c"], ",", "0", ",",
FractionBox[
RowBox[{"b", " ", "f"}],
RowBox[{"a", " ", "c"}]]}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9,
3.701717225642193*^9},ExpressionUUID->"43087fcd-3953-472e-9063-\
f4f2d768c8cc"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"de7d49ed-6e92-40dd-ac10-\
4adb71fd8fa7"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"2", " ", "d"}], "+",
FractionBox[
SuperscriptBox["d", "2"], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "d"}], "+",
FractionBox[
RowBox[{"b", " ", "d"}], "a"]}], ")"}], " ", "e"}], "c"]}], "f"],
",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "d"}], "+",
FractionBox[
SuperscriptBox["d", "2"], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"2", " ", "b"}], "+",
FractionBox[
RowBox[{"b", " ", "d"}], "a"]}], ")"}], " ", "e"}], "c"]}], "f"]}],
"}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.7017172267362127`*^9},ExpressionUUID->"3a802f18-729b-4978-b465-\
cbdce52ee8f9"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"bfcec102-3350-47f1-b832-\
0540e32d8e5a"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"2", " ", "e"}], "+",
FractionBox[
RowBox[{"d", " ", "e"}], "a"], "-",
FractionBox[
RowBox[{"e", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "e"}], "+",
FractionBox[
RowBox[{"b", " ", "e"}], "a"]}], ")"}]}], "c"]}], "f"], ",", "0",
",",
FractionBox[
RowBox[{
FractionBox[
RowBox[{"d", " ", "e"}], "a"], "-",
FractionBox[
RowBox[{"b", " ",
SuperscriptBox["e", "2"]}],
RowBox[{"a", " ", "c"}]]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{3.701478885162715*^9, 3.701479497157612*^9,
3.701479671880685*^9, 3.701631082608848*^9, 3.701631480971312*^9,
3.7016872705196466`*^9, 3.701687402337384*^9, 3.701687482792966*^9,
3.701688499034272*^9, 3.701716466305504*^9, 3.701716629060253*^9,
3.701717227765677*^9},ExpressionUUID->"9cc80431-5907-49b1-8481-\
66c5086fb263"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["3rd Basis", "Section",
CellChangeTimes->{{3.701714108272962*^9, 3.7017141141971817`*^9},
3.701716301801363*^9, {3.7017164774352303`*^9, 3.70171647898638*^9}, {
3.7017166393964357`*^9,
3.7017166403233337`*^9}},ExpressionUUID->"940e4427-04ca-484d-a1cf-\
8f40cbbc403c"],
Cell["\<\
a1 = {1,0,0}
a2={0.5,1,1.5}
a3={0,0,3}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.70171742160606*^9,
3.701717429782288*^9}},ExpressionUUID->"6b9dc6ae-ab54-4ec7-a2b4-\
99833ef84490"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{"1", ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9, 3.7017164511707087`*^9}, {
3.7017165339735413`*^9, 3.7017165900217037`*^9}, {3.70171667955555*^9,
3.701716735232136*^9}, {3.701717453160264*^9,
3.701717483869094*^9}},ExpressionUUID->"0eb8f0ee-7708-4daa-a52e-\
cd07675b28d2"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"e6fbafdb-b523-4c57-9d23-\
b6f4a25c5425"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["b", "a"]}], ",",
RowBox[{"-",
FractionBox["b", "a"]}], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{3.701478683505603*^9, 3.701479652384358*^9,
3.701631072638094*^9, 3.701631471856185*^9, 3.7016872647481422`*^9,
3.701687394012381*^9, 3.701687477281389*^9, 3.701688491098473*^9,
3.701716452750556*^9, 3.701716619317025*^9, 3.701716736457521*^9,
3.701717506347369*^9},ExpressionUUID->"0f10f815-ecd5-40a8-8e2a-\
1acbc84dca91"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"afff5c8e-f54e-43c5-96d3-\
54185ba2f2bc"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["c", "a"]}], ",",
RowBox[{"-",
FractionBox["c", "a"]}], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{3.701478699539103*^9, 3.701479655185692*^9,
3.7016310736725063`*^9, 3.7016314728270597`*^9, 3.701687265547572*^9,
3.701687394754797*^9, 3.70168747807813*^9, 3.701688492509454*^9,
3.70171645631732*^9, 3.701716620283637*^9, 3.70171673812351*^9,
3.701717508578397*^9},ExpressionUUID->"55d2d9f3-6600-4409-bbdc-\
775452efc89f"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"01dcce6c-c900-44c6-9593-\
82c17afb93b0"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{3.7014787135516376`*^9, 3.701479656928358*^9,
3.70163107470499*^9, 3.7016314737152452`*^9, 3.70168726639767*^9,
3.701687397996745*^9, 3.701687478783451*^9, 3.701688493658066*^9,
3.701716457310953*^9, 3.701716621091569*^9, 3.7017167398847637`*^9,
3.701717510173057*^9},ExpressionUUID->"f7d36001-6237-4eea-a1f4-\
2693d728a4cb"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"87e22f25-125b-4d67-af09-\
18a3d8b53840"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"2", " ", "b"}], "+",
FractionBox[
SuperscriptBox["b", "2"], "a"]}], "c"], ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "b"}], "+",
FractionBox[
SuperscriptBox["b", "2"], "a"]}], "c"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9,
3.701717511353818*^9},ExpressionUUID->"dbf74b1f-47b5-455d-8d03-\
7c460f6953fd"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"25b9d4c2-e0e0-436a-b018-\
c36236eb280b"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox["b", "a"], ",",
FractionBox["b", "a"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701717512957299*^9},ExpressionUUID->"f224f143-bc0e-40b5-8286-\
f9fbb2379de7"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"aecdd47f-012a-4a4e-83f5-\
3cee9385940e"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.701717513918083*^9},ExpressionUUID->"d81abb8c-f174-417e-ba3e-\
2d6df7c0bf20"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"1dc58daa-16d3-422a-be0c-\
c066ed6555f9"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "b"}], "+",
FractionBox[
RowBox[{"b", " ", "d"}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"2", " ", "b"}], "+",
FractionBox[
SuperscriptBox["b", "2"], "a"]}], ")"}], " ", "e"}], "c"]}], "f"],
",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "d"}], "+",
FractionBox[
RowBox[{"b", " ", "d"}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"2", " ", "b"}], "+",
FractionBox[
SuperscriptBox["b", "2"], "a"]}], ")"}], " ", "e"}], "c"]}], "f"],
",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9,
3.7017175148220863`*^9},ExpressionUUID->"b81cc90e-ad45-4fe1-9268-\
972c9db682a0"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"886deb0a-fbd7-4701-9884-\
09194697b793"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "c"}], "+",
FractionBox[
RowBox[{"c", " ", "d"}], "a"], "-",
RowBox[{"2", " ", "e"}], "-",
FractionBox[
RowBox[{"b", " ", "e"}], "a"]}], "f"], ",",
FractionBox[
RowBox[{
FractionBox[
RowBox[{"c", " ", "d"}], "a"], "-",
FractionBox[
RowBox[{"b", " ", "e"}], "a"]}], "f"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{3.701478885162715*^9, 3.701479497157612*^9,
3.701479671880685*^9, 3.701631082608848*^9, 3.701631480971312*^9,
3.7016872705196466`*^9, 3.701687402337384*^9, 3.701687482792966*^9,
3.701688499034272*^9, 3.701716466305504*^9, 3.701716629060253*^9,
3.7017167499781847`*^9,
3.7017175159865303`*^9},ExpressionUUID->"e0b22ab1-9785-4a27-aa79-\
4aa2a8d1dcae"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["4th Basis", "Section",
CellChangeTimes->{{3.701714108272962*^9, 3.7017141141971817`*^9},
3.701716301801363*^9, {3.7017164774352303`*^9, 3.70171647898638*^9}, {
3.7017166393964357`*^9, 3.7017166403233337`*^9}, {3.702056723554627*^9,
3.702056725304977*^9}},ExpressionUUID->"76d54f92-25ec-4070-831f-\
cc26d848440c"],
Cell["\<\
a1 = {0.5,1,1.5}
a2={0,2,0}
a3={0,0,3}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}},ExpressionUUID->"e219dca3-eaf5-411a-97fe-\
744b5f768b2f"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "1"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9},ExpressionUUID->"50c773c5-2c10-4996-ba09-\
0720604481ae"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"f31f3628-5e5b-465d-bd52-\
81ce0e9208e2"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9},ExpressionUUID->"cb8f83a4-97c9-4be2-a8f7-\
6953a5eb99bb"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"08e2d02f-298c-4a82-b744-\
e0332e366549"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9},ExpressionUUID->"7fcba6a9-d0d6-4d90-bced-\
7c8768f97783"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"95c37e0e-2414-4975-ade1-\
d204435138d5"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9},ExpressionUUID->"dbdd9083-56ec-44f9-9019-\
efb13b4e1749"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"1e100d28-6917-4009-ba35-\
ec726fc227cf"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox[
RowBox[{"a", "+",
RowBox[{"2", " ", "b"}]}], "c"]}], "}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9},
3.701793443040338*^9},ExpressionUUID->"b7b69a34-df18-46ee-a492-\
c7bdd52a52dc"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"42f0e74c-08e5-443a-9104-\
9d1ec9028681"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701716842367421*^9, 3.701718386309297*^9, 3.7017934107370377`*^9,
3.701793444648883*^9},ExpressionUUID->"d6c000f7-1a35-488c-90e6-\
80047d12439c"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"26a397bc-e901-4bbf-aec6-\
8359df850de8"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9},ExpressionUUID->"90eabe28-c2c5-4ca8-aa7a-\
58a9291dc484"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"6e5306cf-57f4-4da9-82c9-\
91a581891a57"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"a", "+",
RowBox[{"2", " ", "d"}]}], "f"], ",",
RowBox[{"-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{"a", "+",
RowBox[{"2", " ", "b"}]}], ")"}], " ", "e"}],
RowBox[{"c", " ", "f"}]]}]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9,
3.701793446003112*^9},ExpressionUUID->"86d5b6e3-1beb-4f0b-8337-\
57142812df5f"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"b2690f2a-f331-492e-b0b2-\
ccd933ed3ef2"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"2", " ", "e"}], "f"], ",",
RowBox[{"-",
FractionBox[
RowBox[{"2", " ", "e"}], "f"]}]}], "}"}]], "Output",
CellChangeTimes->{3.701478885162715*^9, 3.701479497157612*^9,
3.701479671880685*^9, 3.701631082608848*^9, 3.701631480971312*^9,
3.7016872705196466`*^9, 3.701687402337384*^9, 3.701687482792966*^9,
3.701688499034272*^9, 3.701716466305504*^9, 3.701716629060253*^9,
3.7017167499781847`*^9, 3.701716846275146*^9, 3.7017183902986107`*^9,
3.7017934132134857`*^9,
3.701793446854583*^9},ExpressionUUID->"e708b36c-20f6-4908-b020-\
a341e245c010"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 8", "Section",
CellChangeTimes->{{3.714997868453965*^9,
3.714997873868833*^9}},ExpressionUUID->"5167eed8-3df4-46b6-adb3-\
f688fa967749"],
Cell["\<\
a1 = {1,1,2}
a2={1.41144,0.0885622,-2}
a3={-1.99868,1.21232,-0.731822}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9,
3.714997923977067*^9}},ExpressionUUID->"4fd8c9df-47bb-4a48-b0f0-\
406cf72e6b93"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "1"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "1"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9,
3.714998125713779*^9}},ExpressionUUID->"c28c3437-7f28-4937-8078-\
8285dbb8f6a4"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"4c0709e8-37a7-4362-8de4-\
8081e70de4f4"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9},
3.7155368445468397`*^9},ExpressionUUID->"2a80303c-5e10-4870-9a77-\
0e4ac05d2846"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"61b4b255-f5d9-46a3-a89e-\
c431226720b2"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9},
3.7155368454243507`*^9},ExpressionUUID->"d1f3860f-8b88-4454-a51b-\
fd7e81b92f5d"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"e2373f3c-a695-424f-a596-\
a2b86400db2f"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox["f", "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9},
3.715536846213909*^9},ExpressionUUID->"939b47db-0883-4637-aa45-\
68b13e95b4d7"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"79852196-d38f-4f1a-bba7-\
fc17b1a4a1fd"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+", "b", "+", "d"}], "c"], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+", "d", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], ")"}]}], "a"]}], "c"]}],
"}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9,
3.7155368469952717`*^9},ExpressionUUID->"5a1b010a-b715-4617-828a-\
c3534d8d7ba8"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"6382e5a7-2ce0-4fbd-9ac7-\
c4b666af3f8b"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox["e", "c"], ",", "0", ",",
FractionBox[
RowBox[{"e", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], ")"}]}], "a"]}], "c"]}],
"}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701716842367421*^9, 3.701718386309297*^9, 3.7017934107370377`*^9,
3.701793444648883*^9, 3.714998131895509*^9, 3.715000451521694*^9,
3.715536849253388*^9},ExpressionUUID->"49427ca8-e541-4582-86c8-\
8097eb52a574"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"c361c04d-255e-4a6e-8bd2-\
a7c3dddce1e9"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox["f", "c"], ",", "0", ",",
FractionBox[
RowBox[{"f", "-",
FractionBox[
RowBox[{"b", " ", "f"}], "a"]}], "c"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.715536850525592*^9},ExpressionUUID->"c0e9a84c-97db-46c8-8d46-\
66838d1857f4"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"8be36248-6688-4c58-b2e3-\
af87cf964382"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+", "b", "+", "d", "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "a"}], "+", "b", "+", "d"}], ")"}], " ", "e"}], "c"]}],
"f"], ",", "0", ",",
FractionBox[
RowBox[{"d", "-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], ")"}]}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "a"}], "+", "d", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], ")"}]}], "a"]}], ")"}], " ",
"e"}], "c"]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9,
3.7155368513744717`*^9},ExpressionUUID->"cdb937e4-cf98-4ef5-b6c5-\
cdb1a08e3166"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"f53d29b1-897a-4712-8429-\
f0ce9cbd7ee6"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"c", "-",
FractionBox[
SuperscriptBox["e", "2"], "c"]}], "f"], ",", "0", ",",
FractionBox[
RowBox[{"e", "-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], ")"}]}], "a"], "-",
FractionBox[
RowBox[{"e", " ",
RowBox[{"(",
RowBox[{"e", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], ")"}]}], "a"]}], ")"}]}], "c"]}],
"f"]}], "}"}]], "Output",
CellChangeTimes->{3.701478885162715*^9, 3.701479497157612*^9,
3.701479671880685*^9, 3.701631082608848*^9, 3.701631480971312*^9,
3.7016872705196466`*^9, 3.701687402337384*^9, 3.701687482792966*^9,
3.701688499034272*^9, 3.701716466305504*^9, 3.701716629060253*^9,
3.7017167499781847`*^9, 3.701716846275146*^9, 3.7017183902986107`*^9,
3.7017934132134857`*^9, 3.701793446854583*^9, 3.714998136593092*^9,
3.7150004584740877`*^9,
3.7155368524137278`*^9},ExpressionUUID->"25876488-9fc2-42dd-b896-\
668bb735183c"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 8 #2", "Section",
CellChangeTimes->{{3.71553580320652*^9,
3.715535813289639*^9}},ExpressionUUID->"d63ad734-2a24-432a-a2ab-\
48f89fa79d54"],
Cell["\<\
a1 = {1,1,2}
a2={-2.41144, -1.0885622, 0}
a3={0.41276, 2.3008822, -0.731822}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9, 3.714997923977067*^9}, {
3.715536003122457*^9,
3.715536035623477*^9}},ExpressionUUID->"4cea5c8a-049f-4c5f-8685-\
d9a586c005fd"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{"1", ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9, 3.714998125713779*^9}, {
3.7155358434402227`*^9,
3.715535892253941*^9}},ExpressionUUID->"0a7a4dc5-8d5d-4e8f-bf7e-\
34b1dd7a0ca4"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"e7888a54-5f4b-48d2-ac83-\
936dfd1779bf"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
RowBox[{"-",
FractionBox["d", "a"]}]}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9},
3.7155358938197193`*^9},ExpressionUUID->"e65ff17c-1877-4cc6-8468-\
810d28c72233"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"4eaa0fed-b19a-484b-af3c-\
a7caf613df1b"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
RowBox[{"-",
FractionBox["e", "a"]}]}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9},
3.715535895132386*^9},ExpressionUUID->"6111c6d6-eaa4-4aca-891f-\
73a1350783db"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"aac71206-4906-403f-8b34-\
4d5f93e89e0c"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
RowBox[{"-",
FractionBox["f", "a"]}]}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9},
3.715535897173332*^9},ExpressionUUID->"c0cdb240-1595-41a5-9f7f-\
65da12696c47"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"6c07f809-51d7-4efb-b1b7-\
8d94f4e86063"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+",
RowBox[{"2", " ", "b"}], "-", "d"}], "c"], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+", "b", "-", "d", "+",
FractionBox[
RowBox[{"b", " ", "d"}], "a"]}], "c"]}], "}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9,
3.715535897997292*^9},ExpressionUUID->"790e7ec2-7561-4897-9e1e-\
c307fd15f3b8"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"ea8c66c6-8b5c-422d-91c8-\
287ab03c56a8"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["e", "c"]}], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "e"}], "+",
FractionBox[
RowBox[{"b", " ", "e"}], "a"]}], "c"]}], "}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701716842367421*^9, 3.701718386309297*^9, 3.7017934107370377`*^9,
3.701793444648883*^9, 3.714998131895509*^9, 3.715000451521694*^9,
3.715535899109488*^9},ExpressionUUID->"7b179ff4-8f33-4a50-b537-\
855250b9037d"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"41baa094-ac94-41e6-af7f-\
72d27e11eb0e"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["f", "c"]}], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "f"}], "+",
FractionBox[
RowBox[{"b", " ", "f"}], "a"]}], "c"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.7155359003732243`*^9},ExpressionUUID->"f47422a4-6cd1-403d-8f9b-\
f7d84cbfe2f8"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"d465a03c-eff3-403f-b918-\
10da88080045"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "a"}], "+",
RowBox[{"2", " ", "b"}], "-", "d"}], ")"}], " ", "e"}],
RowBox[{"c", " ", "f"}]]}], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+",
FractionBox[
SuperscriptBox["d", "2"], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "a"}], "+", "b", "-", "d", "+",
FractionBox[
RowBox[{"b", " ", "d"}], "a"]}], ")"}], " ", "e"}], "c"]}], "f"]}],
"}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9,
3.715535901319309*^9},ExpressionUUID->"a6f75264-dbb6-4275-bedd-\
a85090ed1833"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"9b74a25d-92e0-43cb-a3cf-\
15fe030c8a47"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{
RowBox[{"-", "2"}], " ", "e"}], "+",
FractionBox[
SuperscriptBox["e", "2"], "c"]}], "f"], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "e"}], "+",
FractionBox[
RowBox[{"d", " ", "e"}], "a"], "-",
FractionBox[
RowBox[{"e", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "e"}], "+",
FractionBox[
RowBox[{"b", " ", "e"}], "a"]}], ")"}]}], "c"]}], "f"]}],
"}"}]], "Output",
CellChangeTimes->{3.701478885162715*^9, 3.701479497157612*^9,
3.701479671880685*^9, 3.701631082608848*^9, 3.701631480971312*^9,
3.7016872705196466`*^9, 3.701687402337384*^9, 3.701687482792966*^9,
3.701688499034272*^9, 3.701716466305504*^9, 3.701716629060253*^9,
3.7017167499781847`*^9, 3.701716846275146*^9, 3.7017183902986107`*^9,
3.7017934132134857`*^9, 3.701793446854583*^9, 3.714998136593092*^9,
3.7150004584740877`*^9,
3.7155359024801397`*^9},ExpressionUUID->"9ab04b56-0dba-438f-8a0b-\
c004ecc14543"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 8 #3", "Section",
CellChangeTimes->{{3.7155359206075363`*^9,
3.715535926464612*^9}},ExpressionUUID->"e9385ec6-5194-4ecc-bce1-\
30c0d37e7674"],
Cell["\<\
a1 = {1,1,2}
a2={-1.41144, -0.0885622, 2}
a3={0.41276, 2.3008822, -0.731822}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9, 3.714997923977067*^9}, {
3.715536003122457*^9, 3.715536035623477*^9}, {3.715536103645837*^9,
3.715536123979927*^9}},ExpressionUUID->"b4d17588-e3ea-424b-9f2d-\
3e8ae253e797"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "1"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9, 3.714998125713779*^9}, {
3.7155358434402227`*^9, 3.715535892253941*^9}, {3.71553615558775*^9,
3.715536221968405*^9}},ExpressionUUID->"3f288895-cdbd-49f8-8329-\
941654f8ee27"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"ed8edf1c-e4f2-4b5b-b4ec-\
f34eb3813158"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9}, 3.7155358938197193`*^9,
3.715536223520438*^9},ExpressionUUID->"e0ad8ef3-c54b-4233-a7cd-\
2aa01df98be8"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"56d491b3-f5ee-486a-af4f-\
2defe53263ca"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9}, 3.715535895132386*^9,
3.7155362244523087`*^9},ExpressionUUID->"9b4b4768-82d4-4201-9ac9-\
4c2bb15c0f17"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"cebc2651-eda9-4b65-a5bb-\
e31187d7f4a2"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox["f", "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9}, 3.715535897173332*^9,
3.715536225247897*^9},ExpressionUUID->"44cff0f6-459b-4067-88ef-\
ca659c6f04b1"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"65c49f7c-d522-4f4d-bb91-\
9f53fcc1a3da"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"a", "+", "b", "+", "d"}], "c"], ",",
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "-", "d", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], ")"}]}], "a"]}], "c"]}],
"}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9, 3.715535897997292*^9,
3.7155362261615353`*^9},ExpressionUUID->"d361ee62-84f4-4659-91e3-\
ed46a5b5f9c8"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"7579d4b9-0f5c-4bed-ab34-\
ed4d9d9b531e"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox["e", "c"], ",",
FractionBox[
RowBox[{
RowBox[{"-", "e"}], "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], ")"}]}], "a"]}], "c"]}],
"}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701716842367421*^9, 3.701718386309297*^9, 3.7017934107370377`*^9,
3.701793444648883*^9, 3.714998131895509*^9, 3.715000451521694*^9,
3.715535899109488*^9,
3.715536228169128*^9},ExpressionUUID->"8e296fc0-1486-4285-95ed-\
7a94d238e68b"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"7f256a73-08f6-40e3-9a5c-\
c94a2e0475cf"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox["f", "c"], ",",
FractionBox[
RowBox[{
RowBox[{"-", "f"}], "-",
FractionBox[
RowBox[{"b", " ", "f"}], "a"]}], "c"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.7155359003732243`*^9,
3.715536229232472*^9},ExpressionUUID->"6588de3b-b5c6-4f92-a926-\
4af03a15597d"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"f3d2e96f-ee1a-4f9f-b6e3-\
8f392f72d560"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"a", "+", "b", "+", "d", "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{"a", "+", "b", "+", "d"}], ")"}], " ", "e"}], "c"]}], "f"],
",",
FractionBox[
RowBox[{
RowBox[{"-", "d"}], "-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], ")"}]}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "a"}], "-", "d", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "+", "d"}], ")"}]}], "a"]}], ")"}], " ",
"e"}], "c"]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9, 3.715535901319309*^9,
3.715536230238559*^9},ExpressionUUID->"77770629-027b-4030-af2c-\
a7b2c6899de8"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"9dc5cc37-dd83-48db-a580-\
94f54369afb6"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"c", "-",
FractionBox[
SuperscriptBox["e", "2"], "c"]}], "f"], ",",
FractionBox[
RowBox[{
RowBox[{"-", "e"}], "-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], ")"}]}], "a"], "-",
FractionBox[
RowBox[{"e", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "e"}], "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "+", "e"}], ")"}]}], "a"]}], ")"}]}], "c"]}],
"f"]}], "}"}]], "Output",
CellChangeTimes->{3.701478885162715*^9, 3.701479497157612*^9,
3.701479671880685*^9, 3.701631082608848*^9, 3.701631480971312*^9,
3.7016872705196466`*^9, 3.701687402337384*^9, 3.701687482792966*^9,
3.701688499034272*^9, 3.701716466305504*^9, 3.701716629060253*^9,
3.7017167499781847`*^9, 3.701716846275146*^9, 3.7017183902986107`*^9,
3.7017934132134857`*^9, 3.701793446854583*^9, 3.714998136593092*^9,
3.7150004584740877`*^9, 3.7155359024801397`*^9,
3.7155362314331093`*^9},ExpressionUUID->"ee1f3a68-4bca-48c5-b33d-\
f51e6348e5f8"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 8 #4", "Section",
CellChangeTimes->{{3.715536632254797*^9,
3.7155366405579643`*^9}},ExpressionUUID->"aafb3813-0cb6-4ab5-a6f9-\
97ba3e8f4763"],
Cell["\<\
a1 = {-0.99868, 2.21232, 1.268178}
a2={1.41144, 0.0885622, -2}
a3={0.00132, 3.21232, 3.268178}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9, 3.714997923977067*^9}, {
3.715536003122457*^9, 3.715536035623477*^9}, {3.715536103645837*^9,
3.715536123979927*^9}, {3.715536656254397*^9,
3.7155367221865463`*^9}},ExpressionUUID->"cdf98ab6-099d-453b-ad90-\
b3e61ae2a44d"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",", "1"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",",
RowBox[{"-", "3"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9, 3.714998125713779*^9}, {
3.7155358434402227`*^9, 3.715535892253941*^9}, {3.71553615558775*^9,
3.715536221968405*^9}, {3.7155367254601593`*^9,
3.715536802391872*^9}},ExpressionUUID->"314d6f1f-008f-4b40-a8cc-\
50c42aafb148"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"ed0735d6-71bc-4313-870f-\
45029ca11a71"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], "a"], ",", "0", ",",
FractionBox[
RowBox[{"b", "-",
RowBox[{"3", " ", "d"}]}], "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9}, 3.7155358938197193`*^9, 3.715536223520438*^9,
3.7155368038723707`*^9},ExpressionUUID->"e298aaf8-8cb7-47ab-8626-\
3192bf678d87"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"8237e31a-84bf-4d08-bb86-\
bf1da6368ac7"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], "a"], ",", "0", ",",
FractionBox[
RowBox[{"c", "-",
RowBox[{"3", " ", "e"}]}], "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9}, 3.715535895132386*^9, 3.7155362244523087`*^9,
3.71553680525917*^9},ExpressionUUID->"52ae676e-24df-481d-b155-\
e7acea24d4a9"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"b1aa2631-7b89-4221-be1d-\
38a9e5222659"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["f", "a"]}], ",", "0", ",",
RowBox[{"-",
FractionBox[
RowBox[{"3", " ", "f"}], "a"]}]}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9}, 3.715535897173332*^9, 3.715536225247897*^9,
3.7155368063749237`*^9},ExpressionUUID->"cac715c6-5101-497c-b32b-\
0543d85148fd"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"f50b0e92-5981-4a9b-a9d0-\
be39b1479fbc"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"b", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}]}], "a"], "+", "d"}], "c"], ",",
"0", ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "b"}], "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{"b", "-",
RowBox[{"3", " ", "d"}]}], ")"}]}], "a"]}], "c"]}], "}"}]], "Output",\
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9, 3.715535897997292*^9,
3.7155362261615353`*^9,
3.715536807392747*^9},ExpressionUUID->"093b1939-7f14-49f2-bf6d-\
afbe7da63986"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"5bc85f17-3ef4-45c1-a210-\
e8649baa0e0b"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"]}], "+", "e"}], "c"],
",", "0", ",",
RowBox[{"-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{"c", "-",
RowBox[{"3", " ", "e"}]}], ")"}]}],
RowBox[{"a", " ", "c"}]]}]}], "}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701716842367421*^9, 3.701718386309297*^9, 3.7017934107370377`*^9,
3.701793444648883*^9, 3.714998131895509*^9, 3.715000451521694*^9,
3.715535899109488*^9, 3.715536228169128*^9,
3.7155368083986397`*^9},ExpressionUUID->"0a148dc7-7e6a-47e6-8203-\
a943fe97e74a"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"f2d5d25d-dd6e-4dff-85ec-\
5bd77597682c"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"f", "+",
FractionBox[
RowBox[{"b", " ", "f"}], "a"]}], "c"], ",", "0", ",",
FractionBox[
RowBox[{"3", " ", "b", " ", "f"}],
RowBox[{"a", " ", "c"}]]}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.7155359003732243`*^9, 3.715536229232472*^9,
3.715536809232944*^9},ExpressionUUID->"c2c6521a-d4d2-4692-94e7-\
f30fd041b83b"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"1e7b81bf-1ecd-4667-ac62-\
a373c67d384c"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"b", "+", "d", "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}], " ", "d"}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{"b", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}]}], "a"], "+", "d"}], ")"}],
" ", "e"}], "c"]}], "f"], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "d"}], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{"b", "-",
RowBox[{"3", " ", "d"}]}], ")"}], " ", "d"}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"2", " ", "b"}], "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{"b", "-",
RowBox[{"3", " ", "d"}]}], ")"}]}], "a"]}], ")"}], " ", "e"}],
"c"]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9, 3.715535901319309*^9, 3.715536230238559*^9,
3.715536810112815*^9},ExpressionUUID->"7cab65b5-43b3-454d-8dde-\
5ef465a97c9f"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"ccd257ee-af41-4a1c-bd96-\
4f7f7e41053e"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"c", "-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"], "-",
FractionBox[
RowBox[{"e", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"]}], "+", "e"}],
")"}]}], "c"]}], "f"], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{"c", "-",
RowBox[{"3", " ", "e"}]}], ")"}]}], "a"]}], "+",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{"c", "-",
RowBox[{"3", " ", "e"}]}], ")"}], " ", "e"}],
RowBox[{"a", " ", "c"}]]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{3.701478885162715*^9, 3.701479497157612*^9,
3.701479671880685*^9, 3.701631082608848*^9, 3.701631480971312*^9,
3.7016872705196466`*^9, 3.701687402337384*^9, 3.701687482792966*^9,
3.701688499034272*^9, 3.701716466305504*^9, 3.701716629060253*^9,
3.7017167499781847`*^9, 3.701716846275146*^9, 3.7017183902986107`*^9,
3.7017934132134857`*^9, 3.701793446854583*^9, 3.714998136593092*^9,
3.7150004584740877`*^9, 3.7155359024801397`*^9, 3.7155362314331093`*^9,
3.715536811168468*^9},ExpressionUUID->"b9fcc9d3-f0b8-44d2-91ca-\
b9b390bd70eb"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 8 #6", "Section",
CellChangeTimes->{{3.715537743788086*^9, 3.715537749343598*^9}, {
3.720899925500422*^9, 3.720899925610124*^9}, {3.72090042396178*^9,
3.72090042403841*^9}, {3.720900731679793*^9,
3.7209007328357887`*^9}},ExpressionUUID->"97590afc-d184-4f30-932c-\
57440065e3f6"],
Cell["\<\
a1 = {-1.99868,1.21232,-0.731822}
a2 = {-0.58724,1.300882,-2.731822}
a3 = {-0.99868,2.21232,1.268178}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9, 3.714997923977067*^9}, {
3.715536003122457*^9, 3.715536035623477*^9}, {3.715536103645837*^9,
3.715536123979927*^9}, {3.715536656254397*^9, 3.7155367221865463`*^9}, {
3.715537774415846*^9, 3.715537835132141*^9}, {3.7209003831252527`*^9,
3.720900384588922*^9}, 3.720900656060843*^9, 3.720912394773652*^9,
3.720913693854911*^9},ExpressionUUID->"e12d2a27-abb1-4fcf-8e4d-\
90b3ab00b91d"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\n",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}], ";"}], "\n",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}], ";"}], "\n",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "1"}], "}"}]}], ";"}], "\n",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}], "\n",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}], ";"}], "\n",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",", "0"}], "}"}]}], ";"}], "\n",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}], ";"}], "\n",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9, 3.714998125713779*^9}, {
3.7155358434402227`*^9, 3.715535892253941*^9}, {3.71553615558775*^9,
3.715536221968405*^9}, {3.7155367254601593`*^9, 3.715536802391872*^9}, {
3.715537842901227*^9, 3.715537915561348*^9}, {3.720899973780653*^9,
3.7209000946887083`*^9}, {3.720900133516432*^9, 3.720900149927994*^9}, {
3.720900183196887*^9, 3.7209002465807467`*^9}, {3.72090027805682*^9,
3.7209003002116327`*^9}, 3.7209003320424433`*^9, {3.720900363772106*^9,
3.7209003644190207`*^9}, 3.7209004355384007`*^9, {3.72090051593791*^9,
3.72090055138659*^9}, 3.720900596677548*^9, {3.720913691537402*^9,
3.720913691688774*^9}},ExpressionUUID->"838d24ef-b290-44d0-9ffa-\
9919d33aa2d6"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"2c4c0565-a3ad-4c45-b006-\
7a93a8fd4498"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9}, 3.7155358938197193`*^9, 3.715536223520438*^9,
3.7155368038723707`*^9, 3.715537917953206*^9, {3.720899976491571*^9,
3.720899999087915*^9}, 3.72090003655188*^9, {3.720900082299255*^9,
3.720900098415667*^9}, {3.720900136043427*^9, 3.720900249586215*^9}, {
3.7209002806872387`*^9, 3.720900304931312*^9}, 3.720900335062066*^9,
3.720900438944828*^9, {3.7209005187627287`*^9, 3.720900555491*^9},
3.7209006014473763`*^9},ExpressionUUID->"f4b65def-6827-4198-b1d9-\
bd9c67024a0b"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"a6fcb724-8b22-4320-90d9-\
0edeea3e678c"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9}, 3.715535895132386*^9, 3.7155362244523087`*^9,
3.71553680525917*^9, 3.715537918825046*^9, {3.720899976497802*^9,
3.720899999094315*^9}, 3.720900036558054*^9, {3.72090008230617*^9,
3.720900098422619*^9}, {3.720900136049913*^9, 3.7209002495927143`*^9}, {
3.72090028069377*^9, 3.720900304937607*^9}, 3.720900335068467*^9,
3.720900438952145*^9, {3.7209005187696333`*^9, 3.7209005554985533`*^9},
3.7209006014544373`*^9},ExpressionUUID->"bfc56d67-645f-4f73-8b4f-\
f69c253561b6"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"681e5cef-a7e6-43cc-adc3-\
d0e6567b3fdc"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9}, 3.715535897173332*^9, 3.715536225247897*^9,
3.7155368063749237`*^9, 3.715537919832955*^9, {3.720899976524354*^9,
3.720899999123152*^9}, 3.720900036585232*^9, {3.720900082334022*^9,
3.72090009844969*^9}, {3.7209001360761003`*^9, 3.720900249617352*^9}, {
3.720900280723043*^9, 3.720900304966796*^9}, 3.720900335096818*^9,
3.720900438980752*^9, {3.720900518798279*^9, 3.7209005555294867`*^9},
3.720900601481957*^9},ExpressionUUID->"853f262f-d2a8-40f3-8510-\
2f7a45d06c32"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"929fcc48-3f71-4e37-a10e-\
40d2f1419a9a"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
FractionBox[
RowBox[{"a", "+",
RowBox[{"2", " ", "b"}]}], "c"]}], "}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9, 3.715535897997292*^9,
3.7155362261615353`*^9, 3.715536807392747*^9, 3.715537920849832*^9, {
3.720899976549183*^9, 3.720899999151289*^9}, 3.720900036610825*^9, {
3.7209000823599987`*^9, 3.720900098475255*^9}, {3.720900136102387*^9,
3.720900249642569*^9}, {3.720900280750553*^9, 3.72090030499642*^9},
3.720900335123096*^9, 3.7209004390070553`*^9, {3.7209005188273087`*^9,
3.720900555557146*^9},
3.720900601509396*^9},ExpressionUUID->"b08bfcc8-048b-47cc-87b4-\
525d44690b1b"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"47d6d82f-71cc-45e2-af64-\
93529a2e2f8a"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.70147877637757*^9, 3.701479660731415*^9, 3.7016310771710377`*^9,
3.701631477018259*^9, 3.7016872680024977`*^9, 3.701687399585207*^9,
3.701687480418758*^9, 3.7016884957938833`*^9, 3.701716460045911*^9,
3.701716624334461*^9, 3.701716742896796*^9, 3.701716842367421*^9,
3.701718386309297*^9, 3.7017934107370377`*^9, 3.701793444648883*^9,
3.714998131895509*^9, 3.715000451521694*^9, 3.715535899109488*^9,
3.715536228169128*^9, 3.7155368083986397`*^9, 3.715537922418933*^9, {
3.720899976574687*^9, 3.720899999179227*^9}, 3.720900036637403*^9, {
3.7209000823856697`*^9, 3.720900098496369*^9}, {3.720900136128254*^9,
3.7209002496667423`*^9}, {3.720900280774263*^9, 3.720900305021618*^9},
3.720900335150847*^9, 3.7209004390333138`*^9, {3.720900518856539*^9,
3.720900555591593*^9},
3.7209006015376663`*^9},ExpressionUUID->"21f5a641-afcc-45c6-95ff-\
f0fbdd2d6957"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"327f5281-8c71-4aa6-8a54-\
e4e6dde14da7"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.7155359003732243`*^9, 3.715536229232472*^9, 3.715536809232944*^9,
3.7155379235371428`*^9, {3.720899976600707*^9, 3.720899999206915*^9},
3.720900036664537*^9, {3.720900082414051*^9, 3.720900098504984*^9}, {
3.720900136149634*^9, 3.7209002496933327`*^9}, {3.72090028078297*^9,
3.720900305030643*^9}, 3.720900335178549*^9, 3.720900439061557*^9, {
3.7209005188848877`*^9, 3.720900555618843*^9},
3.7209006015648947`*^9},ExpressionUUID->"e8d012c2-f6ac-4ed0-a59a-\
94e24596d9d5"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"8d4bc054-fded-44a3-8868-\
9438320a2e54"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"a", "+",
RowBox[{"2", " ", "d"}]}], "f"], ",",
RowBox[{"-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{"a", "+",
RowBox[{"2", " ", "b"}]}], ")"}], " ", "e"}],
RowBox[{"c", " ", "f"}]]}]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9, 3.715535901319309*^9, 3.715536230238559*^9,
3.715536810112815*^9, 3.7155379246244917`*^9, {3.720899976627989*^9,
3.720899999234715*^9}, 3.7209000366917477`*^9, {3.720900082438938*^9,
3.720900098531129*^9}, {3.7209001361582737`*^9, 3.7209002497186003`*^9}, {
3.720900280812868*^9, 3.720900305060658*^9}, 3.720900335205563*^9,
3.72090043908862*^9, {3.720900518913691*^9, 3.720900555647087*^9},
3.720900601591106*^9},ExpressionUUID->"8b94e9a5-e3c3-438c-82f3-\
061c2ce1b079"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"cbaad930-c149-4d69-99e7-\
34e8f4778f38"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"2", " ", "e"}], "f"], ",",
RowBox[{"-",
FractionBox[
RowBox[{"2", " ", "e"}], "f"]}]}], "}"}]], "Output",
CellChangeTimes->{
3.701478885162715*^9, 3.701479497157612*^9, 3.701479671880685*^9,
3.701631082608848*^9, 3.701631480971312*^9, 3.7016872705196466`*^9,
3.701687402337384*^9, 3.701687482792966*^9, 3.701688499034272*^9,
3.701716466305504*^9, 3.701716629060253*^9, 3.7017167499781847`*^9,
3.701716846275146*^9, 3.7017183902986107`*^9, 3.7017934132134857`*^9,
3.701793446854583*^9, 3.714998136593092*^9, 3.7150004584740877`*^9,
3.7155359024801397`*^9, 3.7155362314331093`*^9, 3.715536811168468*^9,
3.715537927632937*^9, {3.7208999766556263`*^9, 3.720899999261499*^9},
3.720900036719448*^9, {3.7209000824655447`*^9, 3.720900098557849*^9}, {
3.7209001361867037`*^9, 3.720900249747306*^9}, {3.7209002808421288`*^9,
3.720900305090366*^9}, 3.720900335233794*^9, 3.720900439116623*^9, {
3.720900518941908*^9, 3.7209005556760273`*^9},
3.720900601618195*^9},ExpressionUUID->"e36c94b0-faa9-4f00-b186-\
3a0b15237c7b"]
}, Open ]],
Cell[BoxData[
RowBox[{"(*",
RowBox[{"U", " ", "354"}], "*)"}]], "Input",
CellChangeTimes->{{3.720900394852374*^9, 3.720900419456921*^9}, {
3.7209007076506*^9,
3.7209007082409353`*^9}},ExpressionUUID->"8f84e3a4-6f03-4d17-a5c4-\
f0fd39e6678d"]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 19", "Section",
CellChangeTimes->{{3.715012331823291*^9, 3.715012342167584*^9}, {
3.7155398053238783`*^9, 3.715539811233906*^9}, {3.725654269355419*^9,
3.725654275832407*^9}},ExpressionUUID->"ac984185-fef8-4436-9c08-\
992695fc7331"],
Cell["\<\
a1 = {-1,0,0}
a2={-0.5, -1, 1.5}
a3={-0.5,1,1.5}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9, 3.714997923977067*^9}, {
3.715013692738572*^9,
3.715013718263811*^9}},ExpressionUUID->"4a32801f-3692-41f2-86af-\
35f3d87a5758"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9, 3.714998125713779*^9}, {
3.715013727576355*^9,
3.7150137730624743`*^9}},ExpressionUUID->"ceb98290-8408-406b-b2b9-\
a379733a935b"],
Cell[BoxData[
RowBox[{
RowBox[{"a", "=", "c"}], ";",
RowBox[{"c", "=", "f"}], ";"}]], "Input",
CellChangeTimes->{{3.715000425650494*^9, 3.7150004418892193`*^9}, {
3.715082167667142*^9, 3.715082186870459*^9}, {3.715083613307466*^9,
3.715083614992346*^9}, {3.7150836566555853`*^9, 3.715083660383127*^9}, {
3.715083887186771*^9,
3.715083891156369*^9}},ExpressionUUID->"55e91b70-e5ea-488c-9cf4-\
40edbb4e3079"],
Cell[BoxData[
RowBox[{"Clear", "[",
RowBox[{"a", ",", "b", ",", "c", ",", "d", ",", "e", ",", "f"}],
"]"}]], "Input",
CellChangeTimes->{{3.7150795520261383`*^9,
3.715079558616994*^9}},ExpressionUUID->"57e6c55a-9d0f-4e2f-b5de-\
b4e8ca0e3c84"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"8ed8b71c-e50d-491a-b20f-\
48b7cb6cbbd0"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], "a"], ",",
FractionBox[
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], "a"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9}, 3.715013297469096*^9, 3.715013775781322*^9,
3.71501505937856*^9, 3.715079565489086*^9, 3.71508218962057*^9,
3.715082535712928*^9, 3.7150826065068073`*^9, 3.715082783715246*^9,
3.7150836183451347`*^9, 3.71508366369308*^9, 3.715083899125471*^9,
3.715085701736259*^9},ExpressionUUID->"3ca17108-91f9-44a6-9665-\
4619a3f26b4b"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"404e0323-8b9b-41f0-b68b-\
35212098780b"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], "a"], ",",
FractionBox[
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], "a"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9}, 3.715013298253016*^9, 3.7150137782827377`*^9,
3.715015060420188*^9, 3.715079567449521*^9, 3.715082190829775*^9,
3.715082536471777*^9, 3.715082607470271*^9, 3.71508278448664*^9,
3.715083619471904*^9, 3.715083664972471*^9, 3.715083901862755*^9,
3.7150857025860157`*^9},ExpressionUUID->"811236c0-6f04-4878-a08e-\
35fa10fdb7ff"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"deca0f50-b13b-45f4-a33a-\
c903fc511617"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["f", "a"]}], ",",
RowBox[{"-",
FractionBox["f", "a"]}], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9}, 3.715013299330822*^9, 3.715013779975951*^9,
3.715015062649604*^9, 3.715079568662757*^9, 3.71508219208552*^9,
3.7150825375839863`*^9, 3.715082608585909*^9, 3.715082785214492*^9,
3.715083620451803*^9, 3.715083666221756*^9, 3.715083904172954*^9,
3.715085703263976*^9},ExpressionUUID->"97b362d3-c320-4878-b025-\
837127c51dce"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"dfebbe20-d4fa-4993-8f4f-\
1a551bb5e2b5"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"b", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}]}], "a"], "+", "d"}], "c"], ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "b"}], "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}]}], "a"]}], "c"], ",", "0"}],
"}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9, 3.7150133004261827`*^9,
3.7150137815336113`*^9, 3.7150150639649353`*^9, 3.715079569744404*^9,
3.7150821934680777`*^9, 3.715082538343862*^9, 3.7150826095665913`*^9,
3.715082785934311*^9, 3.715083621475993*^9, 3.715083667615931*^9,
3.715083911352662*^9,
3.715085703960661*^9},ExpressionUUID->"f68ff1dc-ece1-49a4-a170-\
d6442bbd8da8"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"5715938d-8fa0-46fb-806a-\
4ab250e1d778"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"]}], "+", "e"}], "c"],
",",
RowBox[{"-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}],
RowBox[{"a", " ", "c"}]]}], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701716842367421*^9, 3.701718386309297*^9, 3.7017934107370377`*^9,
3.701793444648883*^9, 3.714998131895509*^9, 3.715000451521694*^9,
3.715013301402952*^9, 3.715013785014518*^9, 3.715015065210198*^9,
3.715079570823347*^9, 3.715082194752638*^9, 3.715082539128427*^9,
3.7150826160906277`*^9, 3.715082786593505*^9, 3.7150836305753603`*^9,
3.7150836694312477`*^9, 3.71508393079666*^9,
3.715085704558414*^9},ExpressionUUID->"7a4530c9-df7a-4eeb-82fa-\
ce812da6aa5c"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"777c5dca-92d7-45e9-9343-\
909d80c5029d"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"f", "+",
FractionBox[
RowBox[{"b", " ", "f"}], "a"]}], "c"], ",",
FractionBox[
RowBox[{"b", " ", "f"}],
RowBox[{"a", " ", "c"}]], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.7150133024607153`*^9, 3.7150137867983828`*^9, 3.71501506641821*^9,
3.7150795718632183`*^9, 3.715082196043024*^9, 3.715082539885995*^9,
3.715082617694231*^9, 3.715082787719906*^9, 3.715083635657139*^9,
3.715083673615857*^9, 3.715083935027257*^9,
3.715085705888942*^9},ExpressionUUID->"2f0de595-d183-420d-86b1-\
24443c8fcbee"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"5161dd52-4c3b-4daa-82ac-\
ea96c8d12dcd"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"b", "+", "d", "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}], " ", "d"}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{"b", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}]}], "a"], "+", "d"}], ")"}],
" ", "e"}], "c"]}], "f"], ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "d"}], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}], " ", "d"}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"2", " ", "b"}], "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}]}], "a"]}], ")"}], " ",
"e"}], "c"]}], "f"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9, 3.7150133036849403`*^9, 3.715013789128027*^9,
3.7150150675781593`*^9, 3.7150795729100647`*^9, 3.715082197411193*^9,
3.7150825407296867`*^9, 3.7150826191083403`*^9, 3.715082788514152*^9, {
3.715083648931816*^9, 3.715083674768713*^9}, 3.715083943096274*^9,
3.715085706865843*^9},ExpressionUUID->"878ce7e5-7ac9-4c93-8d9b-\
23b7f2206b16"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"d57d6662-678d-42a0-a3c0-\
5327b2186fc7"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"c", "-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"], "-",
FractionBox[
RowBox[{"e", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"]}], "+", "e"}],
")"}]}], "c"]}], "f"], ",",
FractionBox[
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"]}], "+",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}], " ", "e"}],
RowBox[{"a", " ", "c"}]]}], "f"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478885162715*^9, 3.701479497157612*^9, 3.701479671880685*^9,
3.701631082608848*^9, 3.701631480971312*^9, 3.7016872705196466`*^9,
3.701687402337384*^9, 3.701687482792966*^9, 3.701688499034272*^9,
3.701716466305504*^9, 3.701716629060253*^9, 3.7017167499781847`*^9,
3.701716846275146*^9, 3.7017183902986107`*^9, 3.7017934132134857`*^9,
3.701793446854583*^9, 3.714998136593092*^9, 3.7150004584740877`*^9,
3.715013304782764*^9, 3.71501379084731*^9, 3.715015078530302*^9,
3.715079574019553*^9, 3.715082198755982*^9, 3.715082541496759*^9,
3.715082620275529*^9, 3.7150827892742434`*^9, {3.715083650200632*^9,
3.715083678143072*^9}, 3.715083951624587*^9,
3.715085707579352*^9},ExpressionUUID->"e7ae6f16-62db-4667-8b15-\
68d9ad250db6"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 42 #1", "Section",
CellChangeTimes->{{3.7150864429196243`*^9, 3.715086448918294*^9}, {
3.7155398301529427`*^9, 3.7155398309450607`*^9}, {3.715540317005837*^9,
3.715540317187708*^9}, {3.725654283184925*^9,
3.7256542832291527`*^9}},ExpressionUUID->"f859ac83-644f-4b81-a821-\
0b9682abde7e"],
Cell["\<\
a1 = {1.61803, -0.61803, -1}
a2 = {-0.53633, 2.36706, -0.33073}
a3={3.15436, -1.98509, 0.33073}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9, 3.714997923977067*^9}, {
3.715013692738572*^9, 3.715013718263811*^9}, {3.7150864650876617`*^9,
3.715086527411634*^9}, {3.715539922678672*^9,
3.7155399838907757`*^9}},ExpressionUUID->"2f54b34f-126f-4702-8352-\
244c1e12207e"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",", "1"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",",
RowBox[{"-", "3"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9, 3.714998125713779*^9}, {
3.715013727576355*^9, 3.7150137730624743`*^9}, {3.715086536405068*^9,
3.715086580482444*^9}, {3.715086703279395*^9, 3.715086703565207*^9}, {
3.715540003212391*^9,
3.715540051632525*^9}},ExpressionUUID->"28ce6560-812c-4cb6-8bb3-\
89d7ae2d80a7"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"44528d24-16d6-4a09-b851-\
ce712ae37d20"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], "a"], ",", "0", ",",
FractionBox[
RowBox[{"b", "-",
RowBox[{"3", " ", "d"}]}], "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9}, 3.715013297469096*^9, 3.715013775781322*^9,
3.71501505937856*^9, 3.715079565489086*^9, 3.71508218962057*^9,
3.715082535712928*^9, 3.7150826065068073`*^9, 3.715082783715246*^9,
3.7150836183451347`*^9, 3.71508366369308*^9, 3.715083899125471*^9,
3.715085701736259*^9, 3.715086583664815*^9, 3.715086733598398*^9,
3.715087234025877*^9, 3.715540060039543*^9,
3.715540310843011*^9},ExpressionUUID->"6d0f0826-17d8-44be-a5a9-\
56890a382f54"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"b16a3ad6-fbd9-478e-8fbd-\
5b3d75852aca"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], "a"], ",", "0", ",",
FractionBox[
RowBox[{"c", "-",
RowBox[{"3", " ", "e"}]}], "a"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9}, 3.715013298253016*^9, 3.7150137782827377`*^9,
3.715015060420188*^9, 3.715079567449521*^9, 3.715082190829775*^9,
3.715082536471777*^9, 3.715082607470271*^9, 3.71508278448664*^9,
3.715083619471904*^9, 3.715083664972471*^9, 3.715083901862755*^9,
3.7150857025860157`*^9, 3.715086585237131*^9, 3.715086734737955*^9,
3.715087235060131*^9, 3.715540061055147*^9,
3.715540311874807*^9},ExpressionUUID->"51c8c59e-132e-4acb-8b06-\
a8b7c48c7fcb"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"554bc9a9-1238-4c1e-b16e-\
62c86191dff6"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"-",
FractionBox["f", "a"]}], ",", "0", ",",
RowBox[{"-",
FractionBox[
RowBox[{"3", " ", "f"}], "a"]}]}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9}, 3.715013299330822*^9, 3.715013779975951*^9,
3.715015062649604*^9, 3.715079568662757*^9, 3.71508219208552*^9,
3.7150825375839863`*^9, 3.715082608585909*^9, 3.715082785214492*^9,
3.715083620451803*^9, 3.715083666221756*^9, 3.715083904172954*^9,
3.715085703263976*^9, 3.715086586497181*^9, 3.715086735800992*^9,
3.715087235927227*^9, 3.715540061932238*^9,
3.715540312794582*^9},ExpressionUUID->"560c432b-19fa-4cfc-a629-\
ba7e7a2eec2d"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"301baead-efb2-40f6-b8b2-\
669f7f91d716"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"b", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}]}], "a"], "+", "d"}], "c"], ",",
"0", ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "b"}], "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{"b", "-",
RowBox[{"3", " ", "d"}]}], ")"}]}], "a"]}], "c"]}], "}"}]], "Output",\
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9, 3.7150133004261827`*^9,
3.7150137815336113`*^9, 3.7150150639649353`*^9, 3.715079569744404*^9,
3.7150821934680777`*^9, 3.715082538343862*^9, 3.7150826095665913`*^9,
3.715082785934311*^9, 3.715083621475993*^9, 3.715083667615931*^9,
3.715083911352662*^9, 3.715085703960661*^9, 3.71508658788618*^9,
3.7150867369242077`*^9, 3.715087236858466*^9, 3.715540062813486*^9,
3.715540313761126*^9},ExpressionUUID->"e6f11db5-8e61-4c21-9d70-\
bc96adee7a6e"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"c98cfe05-b327-4aff-9147-\
c7234e02870f"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"]}], "+", "e"}], "c"],
",", "0", ",",
RowBox[{"-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{"c", "-",
RowBox[{"3", " ", "e"}]}], ")"}]}],
RowBox[{"a", " ", "c"}]]}]}], "}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701716842367421*^9, 3.701718386309297*^9, 3.7017934107370377`*^9,
3.701793444648883*^9, 3.714998131895509*^9, 3.715000451521694*^9,
3.715013301402952*^9, 3.715013785014518*^9, 3.715015065210198*^9,
3.715079570823347*^9, 3.715082194752638*^9, 3.715082539128427*^9,
3.7150826160906277`*^9, 3.715082786593505*^9, 3.7150836305753603`*^9,
3.7150836694312477`*^9, 3.71508393079666*^9, 3.715085704558414*^9,
3.715086591218081*^9, 3.7150867379950323`*^9, 3.71508723793438*^9,
3.715540063764348*^9},ExpressionUUID->"377a3078-7f0e-49a9-be5f-\
e1c469e20a7b"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"de9a9a32-44f4-4f67-90f5-\
903e35e2ab49"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"f", "+",
FractionBox[
RowBox[{"b", " ", "f"}], "a"]}], "c"], ",", "0", ",",
FractionBox[
RowBox[{"3", " ", "b", " ", "f"}],
RowBox[{"a", " ", "c"}]]}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.7150133024607153`*^9, 3.7150137867983828`*^9, 3.71501506641821*^9,
3.7150795718632183`*^9, 3.715082196043024*^9, 3.715082539885995*^9,
3.715082617694231*^9, 3.715082787719906*^9, 3.715083635657139*^9,
3.715083673615857*^9, 3.715083935027257*^9, 3.715085705888942*^9,
3.715086593450349*^9, 3.7150867393203897`*^9, 3.7150872390067673`*^9,
3.7155400646281223`*^9},ExpressionUUID->"834dcfe9-def1-4c64-a5d7-\
6e3ef09fe1d6"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"b47a8431-3c6f-4603-a44d-\
170db6058ad9"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"b", "+", "d", "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}], " ", "d"}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{"b", "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "b"}], "-", "d"}], ")"}]}], "a"], "+", "d"}], ")"}],
" ", "e"}], "c"]}], "f"], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "d"}], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{"b", "-",
RowBox[{"3", " ", "d"}]}], ")"}], " ", "d"}], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"2", " ", "b"}], "-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{"b", "-",
RowBox[{"3", " ", "d"}]}], ")"}]}], "a"]}], ")"}], " ", "e"}],
"c"]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9, 3.7150133036849403`*^9, 3.715013789128027*^9,
3.7150150675781593`*^9, 3.7150795729100647`*^9, 3.715082197411193*^9,
3.7150825407296867`*^9, 3.7150826191083403`*^9, 3.715082788514152*^9, {
3.715083648931816*^9, 3.715083674768713*^9}, 3.715083943096274*^9,
3.715085706865843*^9, 3.715086595180401*^9, 3.7150867407954617`*^9,
3.715087240287603*^9,
3.715540065598975*^9},ExpressionUUID->"7bcca86b-06c5-4226-95ed-\
7485c700b5ff"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"da7d2487-3bb7-4f46-be1b-\
ef795f0d9104"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{"c", "-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"], "-",
FractionBox[
RowBox[{"e", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{
RowBox[{"-", "c"}], "-", "e"}], ")"}]}], "a"]}], "+", "e"}],
")"}]}], "c"]}], "f"], ",", "0", ",",
FractionBox[
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{"c", "-",
RowBox[{"3", " ", "e"}]}], ")"}]}], "a"]}], "+",
FractionBox[
RowBox[{"b", " ",
RowBox[{"(",
RowBox[{"c", "-",
RowBox[{"3", " ", "e"}]}], ")"}], " ", "e"}],
RowBox[{"a", " ", "c"}]]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478885162715*^9, 3.701479497157612*^9, 3.701479671880685*^9,
3.701631082608848*^9, 3.701631480971312*^9, 3.7016872705196466`*^9,
3.701687402337384*^9, 3.701687482792966*^9, 3.701688499034272*^9,
3.701716466305504*^9, 3.701716629060253*^9, 3.7017167499781847`*^9,
3.701716846275146*^9, 3.7017183902986107`*^9, 3.7017934132134857`*^9,
3.701793446854583*^9, 3.714998136593092*^9, 3.7150004584740877`*^9,
3.715013304782764*^9, 3.71501379084731*^9, 3.715015078530302*^9,
3.715079574019553*^9, 3.715082198755982*^9, 3.715082541496759*^9,
3.715082620275529*^9, 3.7150827892742434`*^9, {3.715083650200632*^9,
3.715083678143072*^9}, 3.715083951624587*^9, 3.715085707579352*^9,
3.7150865968662443`*^9, 3.7150867423981743`*^9, 3.715087241390513*^9,
3.7155400665341187`*^9},ExpressionUUID->"3677a523-d3a9-4e28-b353-\
689e21ba418e"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 42 #2", "Section",
CellChangeTimes->{{3.71553982052604*^9, 3.7155398273613462`*^9}, {
3.71554032626725*^9, 3.715540326571753*^9}, {3.725654287812018*^9,
3.725654287880093*^9}},ExpressionUUID->"b0ff6476-7a19-490b-a907-\
29916da7308b"],
Cell["\<\
a1 = {1,1,1}
a2={1.61803, -0.61803, -1}
a3={-1.53633,1.36706,-1.33073}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9, 3.714997923977067*^9}, {
3.715013692738572*^9, 3.715013718263811*^9}, {3.7150864650876617`*^9,
3.715086527411634*^9}, {3.7155398593131104`*^9, 3.715539863447851*^9}, {
3.715540341844735*^9,
3.715540342155785*^9}},ExpressionUUID->"5608a258-6cc1-4bc7-9bd8-\
224efb9db7b6"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9, 3.714998125713779*^9}, {
3.715013727576355*^9, 3.7150137730624743`*^9}, {3.715086536405068*^9,
3.715086580482444*^9}, {3.715086703279395*^9,
3.715086703565207*^9}},ExpressionUUID->"9f9cdaa6-b6a3-4daa-aa80-\
4363727dbe37"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"5f0feb90-6090-4ea7-88f2-\
86985f5ac9bf"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox["d", "a"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9}, 3.715013297469096*^9, 3.715013775781322*^9,
3.71501505937856*^9, 3.715079565489086*^9, 3.71508218962057*^9,
3.715082535712928*^9, 3.7150826065068073`*^9, 3.715082783715246*^9,
3.7150836183451347`*^9, 3.71508366369308*^9, 3.715083899125471*^9,
3.715085701736259*^9, 3.715086583664815*^9, 3.715086733598398*^9,
3.715087234025877*^9,
3.7155402935452757`*^9},ExpressionUUID->"5602508a-8c62-42b5-940e-\
e131ca2d34b1"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"88313117-19fd-42a1-928d-\
8f65a33e9c49"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox["e", "a"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9}, 3.715013298253016*^9, 3.7150137782827377`*^9,
3.715015060420188*^9, 3.715079567449521*^9, 3.715082190829775*^9,
3.715082536471777*^9, 3.715082607470271*^9, 3.71508278448664*^9,
3.715083619471904*^9, 3.715083664972471*^9, 3.715083901862755*^9,
3.7150857025860157`*^9, 3.715086585237131*^9, 3.715086734737955*^9,
3.715087235060131*^9,
3.715540294427228*^9},ExpressionUUID->"887ed581-4f1b-4b64-b352-\
fa2111f61c7e"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"9c725040-07ba-435b-8fad-\
a6920f6d05b1"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox["f", "a"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9}, 3.715013299330822*^9, 3.715013779975951*^9,
3.715015062649604*^9, 3.715079568662757*^9, 3.71508219208552*^9,
3.7150825375839863`*^9, 3.715082608585909*^9, 3.715082785214492*^9,
3.715083620451803*^9, 3.715083666221756*^9, 3.715083904172954*^9,
3.715085703263976*^9, 3.715086586497181*^9, 3.715086735800992*^9,
3.715087235927227*^9,
3.7155402952728777`*^9},ExpressionUUID->"c127161b-f06a-4789-9cbc-\
a54c0636f117"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"a1bcb444-b8c5-4430-91ce-\
ea4d7cbf00c3"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"d", "-",
FractionBox[
RowBox[{"b", " ", "d"}], "a"]}], "c"], ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "b"}], "-", "d"}], "c"]}], "}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9, 3.7150133004261827`*^9,
3.7150137815336113`*^9, 3.7150150639649353`*^9, 3.715079569744404*^9,
3.7150821934680777`*^9, 3.715082538343862*^9, 3.7150826095665913`*^9,
3.715082785934311*^9, 3.715083621475993*^9, 3.715083667615931*^9,
3.715083911352662*^9, 3.715085703960661*^9, 3.71508658788618*^9,
3.7150867369242077`*^9, 3.715087236858466*^9,
3.715540296177958*^9},ExpressionUUID->"3bf4c40e-9739-4185-9874-\
577b4c9a3194"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"46ddcbdf-1184-4278-99fb-\
4221dacda068"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"e", "-",
FractionBox[
RowBox[{"b", " ", "e"}], "a"]}], "c"], ",",
RowBox[{"-",
FractionBox["e", "c"]}]}], "}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701716842367421*^9, 3.701718386309297*^9, 3.7017934107370377`*^9,
3.701793444648883*^9, 3.714998131895509*^9, 3.715000451521694*^9,
3.715013301402952*^9, 3.715013785014518*^9, 3.715015065210198*^9,
3.715079570823347*^9, 3.715082194752638*^9, 3.715082539128427*^9,
3.7150826160906277`*^9, 3.715082786593505*^9, 3.7150836305753603`*^9,
3.7150836694312477`*^9, 3.71508393079666*^9, 3.715085704558414*^9,
3.715086591218081*^9, 3.7150867379950323`*^9, 3.71508723793438*^9,
3.7155402974953747`*^9},ExpressionUUID->"c5add82a-7762-45fa-a1fd-\
364acf53dca0"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"0fa4194a-4d79-4d0d-ad15-\
2916c929e64e"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{"f", "-",
FractionBox[
RowBox[{"b", " ", "f"}], "a"]}], "c"], ",",
RowBox[{"-",
FractionBox["f", "c"]}]}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.7150133024607153`*^9, 3.7150137867983828`*^9, 3.71501506641821*^9,
3.7150795718632183`*^9, 3.715082196043024*^9, 3.715082539885995*^9,
3.715082617694231*^9, 3.715082787719906*^9, 3.715083635657139*^9,
3.715083673615857*^9, 3.715083935027257*^9, 3.715085705888942*^9,
3.715086593450349*^9, 3.7150867393203897`*^9, 3.7150872390067673`*^9,
3.7155402986272697`*^9},ExpressionUUID->"06a47c91-cfb8-4230-b01b-\
7473edd00705"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"5c41248b-fc0d-41a7-8cf8-\
416e1c29d2e0"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "d"}], "-",
FractionBox[
SuperscriptBox["d", "2"], "a"], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{"d", "-",
FractionBox[
RowBox[{"b", " ", "d"}], "a"]}], ")"}], " ", "e"}], "c"]}], "f"],
",",
RowBox[{"-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"2", " ", "b"}], "-", "d"}], ")"}], " ", "e"}],
RowBox[{"c", " ", "f"}]]}]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9, 3.7150133036849403`*^9, 3.715013789128027*^9,
3.7150150675781593`*^9, 3.7150795729100647`*^9, 3.715082197411193*^9,
3.7150825407296867`*^9, 3.7150826191083403`*^9, 3.715082788514152*^9, {
3.715083648931816*^9, 3.715083674768713*^9}, 3.715083943096274*^9,
3.715085706865843*^9, 3.715086595180401*^9, 3.7150867407954617`*^9,
3.715087240287603*^9,
3.715540299707086*^9},ExpressionUUID->"d7dda106-be2f-4823-a0a9-\
cf7e37a625e2"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"3e4f0e64-15d8-4f99-b350-\
b3d9bf778c1c"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "e"}], "-",
FractionBox[
RowBox[{"d", " ", "e"}], "a"], "-",
FractionBox[
RowBox[{"e", " ",
RowBox[{"(",
RowBox[{"e", "-",
FractionBox[
RowBox[{"b", " ", "e"}], "a"]}], ")"}]}], "c"]}], "f"], ",",
FractionBox[
RowBox[{
RowBox[{
RowBox[{"-", "2"}], " ", "e"}], "+",
FractionBox[
SuperscriptBox["e", "2"], "c"]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478885162715*^9, 3.701479497157612*^9, 3.701479671880685*^9,
3.701631082608848*^9, 3.701631480971312*^9, 3.7016872705196466`*^9,
3.701687402337384*^9, 3.701687482792966*^9, 3.701688499034272*^9,
3.701716466305504*^9, 3.701716629060253*^9, 3.7017167499781847`*^9,
3.701716846275146*^9, 3.7017183902986107`*^9, 3.7017934132134857`*^9,
3.701793446854583*^9, 3.714998136593092*^9, 3.7150004584740877`*^9,
3.715013304782764*^9, 3.71501379084731*^9, 3.715015078530302*^9,
3.715079574019553*^9, 3.715082198755982*^9, 3.715082541496759*^9,
3.715082620275529*^9, 3.7150827892742434`*^9, {3.715083650200632*^9,
3.715083678143072*^9}, 3.715083951624587*^9, 3.715085707579352*^9,
3.7150865968662443`*^9, 3.7150867423981743`*^9, 3.715087241390513*^9,
3.715540300711557*^9},ExpressionUUID->"a77f064e-d51b-4338-8335-\
fe0bc1358772"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 42 #3", "Section",
CellChangeTimes->{{3.715540236196746*^9,
3.7155402419518337`*^9}},ExpressionUUID->"04834317-d512-4254-b60a-\
890ea8645cbc"],
Cell["\<\
a1 = {0.61803,-1.61803,-2}
a2={-0.53633, 2.36706, -0.33073}
a3={1.61803, -0.61803, -1}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9, 3.714997923977067*^9}, {
3.715013692738572*^9, 3.715013718263811*^9}, {3.7150864650876617`*^9,
3.715086527411634*^9}, {3.7155398593131104`*^9, 3.715539863447851*^9}, {
3.71554052860606*^9,
3.715540577922228*^9}},ExpressionUUID->"2eed4eae-fd01-4445-a34c-\
c6881e432fdb"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "1", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "2"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9, 3.714998125713779*^9}, {
3.715013727576355*^9, 3.7150137730624743`*^9}, {3.715086536405068*^9,
3.715086580482444*^9}, {3.715086703279395*^9, 3.715086703565207*^9}, {
3.715540392531459*^9,
3.715540446201096*^9}},ExpressionUUID->"63a29a0c-d8dc-4fd8-88da-\
42189d736723"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"1443f522-3fde-445d-a96a-\
d090e3c1b4f2"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox["b", "a"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9}, 3.715013297469096*^9, 3.715013775781322*^9,
3.71501505937856*^9, 3.715079565489086*^9, 3.71508218962057*^9,
3.715082535712928*^9, 3.7150826065068073`*^9, 3.715082783715246*^9,
3.7150836183451347`*^9, 3.71508366369308*^9, 3.715083899125471*^9,
3.715085701736259*^9, 3.715086583664815*^9, 3.715086733598398*^9,
3.715087234025877*^9,
3.715540454834065*^9},ExpressionUUID->"b0cd8eb6-d62e-40fd-9588-\
15d34f5748be"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"91401c34-d7b6-4518-b4af-\
b36878409e6d"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox["c", "a"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9}, 3.715013298253016*^9, 3.7150137782827377`*^9,
3.715015060420188*^9, 3.715079567449521*^9, 3.715082190829775*^9,
3.715082536471777*^9, 3.715082607470271*^9, 3.71508278448664*^9,
3.715083619471904*^9, 3.715083664972471*^9, 3.715083901862755*^9,
3.7150857025860157`*^9, 3.715086585237131*^9, 3.715086734737955*^9,
3.715087235060131*^9,
3.715540455737844*^9},ExpressionUUID->"cd4d076c-a7ec-439a-a465-\
8921bd9deb1e"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"e0449b86-11d7-435b-8a84-\
4229cf744cff"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9}, 3.715013299330822*^9, 3.715013779975951*^9,
3.715015062649604*^9, 3.715079568662757*^9, 3.71508219208552*^9,
3.7150825375839863`*^9, 3.715082608585909*^9, 3.715082785214492*^9,
3.715083620451803*^9, 3.715083666221756*^9, 3.715083904172954*^9,
3.715085703263976*^9, 3.715086586497181*^9, 3.715086735800992*^9,
3.715087235927227*^9,
3.715540456594406*^9},ExpressionUUID->"278773bf-d49c-435b-b3e1-\
3cc1658e9696"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"0e63fab5-a2a1-4e32-b1db-\
7694c040e999"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "b"}], "-",
FractionBox[
SuperscriptBox["b", "2"], "a"]}], "c"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9, 3.7150133004261827`*^9,
3.7150137815336113`*^9, 3.7150150639649353`*^9, 3.715079569744404*^9,
3.7150821934680777`*^9, 3.715082538343862*^9, 3.7150826095665913`*^9,
3.715082785934311*^9, 3.715083621475993*^9, 3.715083667615931*^9,
3.715083911352662*^9, 3.715085703960661*^9, 3.71508658788618*^9,
3.7150867369242077`*^9, 3.715087236858466*^9,
3.7155404580506697`*^9},ExpressionUUID->"9d99a644-44be-4992-96a2-\
1d1370e4622c"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"ba6e8cf9-b4b9-444d-abd4-\
bcafadb813f4"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-",
FractionBox["b", "a"]}], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{3.70147877637757*^9, 3.701479660731415*^9,
3.7016310771710377`*^9, 3.701631477018259*^9, 3.7016872680024977`*^9,
3.701687399585207*^9, 3.701687480418758*^9, 3.7016884957938833`*^9,
3.701716460045911*^9, 3.701716624334461*^9, 3.701716742896796*^9,
3.701716842367421*^9, 3.701718386309297*^9, 3.7017934107370377`*^9,
3.701793444648883*^9, 3.714998131895509*^9, 3.715000451521694*^9,
3.715013301402952*^9, 3.715013785014518*^9, 3.715015065210198*^9,
3.715079570823347*^9, 3.715082194752638*^9, 3.715082539128427*^9,
3.7150826160906277`*^9, 3.715082786593505*^9, 3.7150836305753603`*^9,
3.7150836694312477`*^9, 3.71508393079666*^9, 3.715085704558414*^9,
3.715086591218081*^9, 3.7150867379950323`*^9, 3.71508723793438*^9,
3.715540460131166*^9},ExpressionUUID->"7711770a-b757-4a68-8176-\
7d89ce60d93e"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"90aa16be-267c-4906-9448-\
13e198e3de4c"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.7150133024607153`*^9, 3.7150137867983828`*^9, 3.71501506641821*^9,
3.7150795718632183`*^9, 3.715082196043024*^9, 3.715082539885995*^9,
3.715082617694231*^9, 3.715082787719906*^9, 3.715083635657139*^9,
3.715083673615857*^9, 3.715083935027257*^9, 3.715085705888942*^9,
3.715086593450349*^9, 3.7150867393203897`*^9, 3.7150872390067673`*^9,
3.715540461450508*^9},ExpressionUUID->"5160f960-fd74-459d-aeb8-\
3ed8a7be9a07"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"a60e28ce-12a9-4815-b2e5-\
3e428f9f3127"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"b", " ", "d"}], "a"]}], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"2", " ", "b"}], "-",
FractionBox[
SuperscriptBox["b", "2"], "a"]}], ")"}], " ", "e"}], "c"]}], "f"],
",",
FractionBox[
RowBox[{
RowBox[{"2", " ", "a"}], "-", "b", "+",
RowBox[{"2", " ", "d"}]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9, 3.7150133036849403`*^9, 3.715013789128027*^9,
3.7150150675781593`*^9, 3.7150795729100647`*^9, 3.715082197411193*^9,
3.7150825407296867`*^9, 3.7150826191083403`*^9, 3.715082788514152*^9, {
3.715083648931816*^9, 3.715083674768713*^9}, 3.715083943096274*^9,
3.715085706865843*^9, 3.715086595180401*^9, 3.7150867407954617`*^9,
3.715087240287603*^9,
3.715540462814619*^9},ExpressionUUID->"846f0f62-d94b-4c52-9bb3-\
8189bc9faae0"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"c964dae9-6e8c-47e7-8ad1-\
77ef444201d4"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
FractionBox[
RowBox[{
RowBox[{"-",
FractionBox[
RowBox[{"c", " ", "d"}], "a"]}], "-",
RowBox[{"2", " ", "e"}], "+",
FractionBox[
RowBox[{"b", " ", "e"}], "a"]}], "f"], ",",
FractionBox[
RowBox[{
RowBox[{"-", "c"}], "+",
RowBox[{"2", " ", "e"}]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478885162715*^9, 3.701479497157612*^9, 3.701479671880685*^9,
3.701631082608848*^9, 3.701631480971312*^9, 3.7016872705196466`*^9,
3.701687402337384*^9, 3.701687482792966*^9, 3.701688499034272*^9,
3.701716466305504*^9, 3.701716629060253*^9, 3.7017167499781847`*^9,
3.701716846275146*^9, 3.7017183902986107`*^9, 3.7017934132134857`*^9,
3.701793446854583*^9, 3.714998136593092*^9, 3.7150004584740877`*^9,
3.715013304782764*^9, 3.71501379084731*^9, 3.715015078530302*^9,
3.715079574019553*^9, 3.715082198755982*^9, 3.715082541496759*^9,
3.715082620275529*^9, 3.7150827892742434`*^9, {3.715083650200632*^9,
3.715083678143072*^9}, 3.715083951624587*^9, 3.715085707579352*^9,
3.7150865968662443`*^9, 3.7150867423981743`*^9, 3.715087241390513*^9,
3.715540465020681*^9},ExpressionUUID->"0e7bce03-3b91-4202-9a94-\
1822a1de36f4"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Niggli Basis 42 #4", "Section",
CellChangeTimes->{{3.715541026788501*^9,
3.715541031998313*^9}},ExpressionUUID->"14c654fe-bb34-42df-a606-\
ad99fb2a457e"],
Cell["\<\
a1 = {0.61803,-1.61803,-2}
a2={-0.53633, 2.36706, -0.33073}
a3={1.61803, -0.61803, -1}\
\>", "Text",
CellChangeTimes->{{3.7017141166882877`*^9, 3.701714135232835*^9}, {
3.701716307072648*^9, 3.7017163232488127`*^9}, {3.70171651945757*^9,
3.7017165298304443`*^9}, {3.701716646418221*^9, 3.701716657451169*^9}, {
3.701716762886733*^9, 3.701716768934856*^9}, {3.701718339653273*^9,
3.7017183478431168`*^9}, {3.714997892291584*^9, 3.714997923977067*^9}, {
3.715013692738572*^9, 3.715013718263811*^9}, {3.7150864650876617`*^9,
3.715086527411634*^9}, {3.7155398593131104`*^9, 3.715539863447851*^9}, {
3.71554052860606*^9,
3.715540577922228*^9}},ExpressionUUID->"2fb9c6c7-6a3f-46d8-a05b-\
3b70330f4d75"],
Cell[BoxData[{
RowBox[{
RowBox[{"x11", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x12", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x13", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x21", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x22", "=",
RowBox[{"{",
RowBox[{"1", ",", "1", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x23", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x31", "=",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",",
RowBox[{"-", "1"}]}], "}"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x32", "=",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"x33", "=",
RowBox[{"{",
RowBox[{"1", ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.70147849925825*^9, 3.701478501348905*^9}, {
3.7014785367137213`*^9, 3.701478610967045*^9}, {3.701479602414957*^9,
3.7014796200649977`*^9}, {3.7017163478248243`*^9,
3.7017164511707087`*^9}, {3.7017165339735413`*^9,
3.7017165900217037`*^9}, {3.70171667955555*^9, 3.701716735232136*^9}, {
3.7017167965986347`*^9, 3.7017168345483913`*^9}, {3.701718353691975*^9,
3.701718380874651*^9}, {3.701793344822051*^9, 3.701793383961563*^9},
3.701793438542302*^9, {3.7149980674669867`*^9, 3.714998125713779*^9}, {
3.715013727576355*^9, 3.7150137730624743`*^9}, {3.715086536405068*^9,
3.715086580482444*^9}, {3.715086703279395*^9, 3.715086703565207*^9}, {
3.715540392531459*^9, 3.715540446201096*^9}, {3.715541039313345*^9,
3.7155410893957233`*^9}, {3.715541207922492*^9, 3.715541208111154*^9}, {
3.7155413507636766`*^9, 3.7155413844808207`*^9}, {3.715541561803421*^9,
3.7155415737682753`*^9}, {3.715541839503976*^9, 3.715541871156144*^9}, {
3.7155420073839397`*^9,
3.715542039541442*^9}},ExpressionUUID->"a42a2126-3a87-45e5-8b96-\
a5bd8fe5797f"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"b", "*", "x12"}], "+",
RowBox[{"d", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.7014786681894007`*^9,
3.701478682515724*^9}},ExpressionUUID->"88dd5ca6-8bad-4b13-bd4e-\
0d7c49c247d2"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478683505603*^9, 3.701479652384358*^9, 3.701631072638094*^9,
3.701631471856185*^9, 3.7016872647481422`*^9, 3.701687394012381*^9,
3.701687477281389*^9, 3.701688491098473*^9, 3.701716452750556*^9,
3.701716619317025*^9, 3.701716736457521*^9, 3.701716835676502*^9,
3.701718382361022*^9, {3.7017933954570436`*^9, 3.701793407666252*^9},
3.701793441009202*^9, 3.7149981272479753`*^9, {3.7150004290984507`*^9,
3.7150004437598543`*^9}, 3.715013297469096*^9, 3.715013775781322*^9,
3.71501505937856*^9, 3.715079565489086*^9, 3.71508218962057*^9,
3.715082535712928*^9, 3.7150826065068073`*^9, 3.715082783715246*^9,
3.7150836183451347`*^9, 3.71508366369308*^9, 3.715083899125471*^9,
3.715085701736259*^9, 3.715086583664815*^9, 3.715086733598398*^9,
3.715087234025877*^9, 3.715540454834065*^9, 3.7155410939141407`*^9,
3.715541222228568*^9, 3.715541385829165*^9, 3.71554158398842*^9,
3.7155418832566643`*^9,
3.7155420430508003`*^9},ExpressionUUID->"e5cfdd1d-ac64-4a69-833a-\
5b72e739085c"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"c", "*", "x12"}], "+",
RowBox[{"e", "*", "x13"}]}], ")"}], "/", "a"}]}]], "Input",
CellChangeTimes->{{3.701478685472272*^9, 3.701478698530018*^9}, {
3.701687388884058*^9,
3.701687389092414*^9}},ExpressionUUID->"dd3f5595-e919-43ec-ba85-\
b89cd2ca7f54"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478699539103*^9, 3.701479655185692*^9, 3.7016310736725063`*^9,
3.7016314728270597`*^9, 3.701687265547572*^9, 3.701687394754797*^9,
3.70168747807813*^9, 3.701688492509454*^9, 3.70171645631732*^9,
3.701716620283637*^9, 3.70171673812351*^9, 3.701716837766543*^9,
3.7017183835069838`*^9, {3.7017933962085333`*^9, 3.701793408353013*^9},
3.701793441749723*^9, 3.714998128199842*^9, {3.715000430106057*^9,
3.715000445401495*^9}, 3.715013298253016*^9, 3.7150137782827377`*^9,
3.715015060420188*^9, 3.715079567449521*^9, 3.715082190829775*^9,
3.715082536471777*^9, 3.715082607470271*^9, 3.71508278448664*^9,
3.715083619471904*^9, 3.715083664972471*^9, 3.715083901862755*^9,
3.7150857025860157`*^9, 3.715086585237131*^9, 3.715086734737955*^9,
3.715087235060131*^9, 3.715540455737844*^9, 3.715541094959444*^9,
3.715541223547813*^9, 3.715541386945755*^9, 3.7155415848266087`*^9,
3.7155418843317537`*^9,
3.715542043809875*^9},ExpressionUUID->"3c75ff84-5b02-4c82-a4d5-\
443c9d0e5425"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Alpha]3", "=",
RowBox[{"f", "*",
RowBox[{"x13", "/", "a"}]}]}]], "Input",
CellChangeTimes->{{3.70147870100036*^9,
3.70147871306664*^9}},ExpressionUUID->"87772eed-8e6f-4e2a-8bd6-\
ba821f3bde56"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.7014787135516376`*^9, 3.701479656928358*^9, 3.70163107470499*^9,
3.7016314737152452`*^9, 3.70168726639767*^9, 3.701687397996745*^9,
3.701687478783451*^9, 3.701688493658066*^9, 3.701716457310953*^9,
3.701716621091569*^9, 3.7017167398847637`*^9, 3.7017168402132273`*^9,
3.701718384282591*^9, {3.701793397025796*^9, 3.701793409035143*^9},
3.7017934424336843`*^9, 3.7149981292246723`*^9, {3.71500043142377*^9,
3.715000447016205*^9}, 3.715013299330822*^9, 3.715013779975951*^9,
3.715015062649604*^9, 3.715079568662757*^9, 3.71508219208552*^9,
3.7150825375839863`*^9, 3.715082608585909*^9, 3.715082785214492*^9,
3.715083620451803*^9, 3.715083666221756*^9, 3.715083904172954*^9,
3.715085703263976*^9, 3.715086586497181*^9, 3.715086735800992*^9,
3.715087235927227*^9, 3.715540456594406*^9, 3.715541096136134*^9,
3.715541390342546*^9, 3.715541588060564*^9, 3.715541887597308*^9,
3.715542044570606*^9},ExpressionUUID->"faebe943-2afa-4a1e-8f05-\
9b196fa28003"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "x11"}], "+",
RowBox[{"a", "*", "x21"}], "-",
RowBox[{"b", "*", "\[Alpha]1"}], "+",
RowBox[{"b", "*", "x22"}], "+",
RowBox[{"d", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.70147871551278*^9,
3.701478744792975*^9}},ExpressionUUID->"9d92fb5b-6c14-403c-a85c-\
6051a685644a"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+",
RowBox[{"2", " ", "b"}]}], "c"], ",",
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+",
RowBox[{"2", " ", "b"}]}], "c"], ",", "0"}], "}"}]], "Output",
CellChangeTimes->{{3.701478741790004*^9, 3.701478745367145*^9},
3.701479658206732*^9, 3.7016310756792593`*^9, 3.701631474581752*^9,
3.701687267249309*^9, 3.701687398797056*^9, 3.7016874796521482`*^9,
3.7016884947945013`*^9, 3.701716458655345*^9, 3.701716622906123*^9,
3.701716740939622*^9, 3.701716841092865*^9, 3.701718384908868*^9, {
3.7017933978391123`*^9, 3.7017934096982107`*^9}, 3.701793443040338*^9,
3.714998130328601*^9, 3.715000448613693*^9, 3.7150133004261827`*^9,
3.7150137815336113`*^9, 3.7150150639649353`*^9, 3.715079569744404*^9,
3.7150821934680777`*^9, 3.715082538343862*^9, 3.7150826095665913`*^9,
3.715082785934311*^9, 3.715083621475993*^9, 3.715083667615931*^9,
3.715083911352662*^9, 3.715085703960661*^9, 3.71508658788618*^9,
3.7150867369242077`*^9, 3.715087236858466*^9, 3.7155404580506697`*^9,
3.715541097186035*^9, 3.715541391845323*^9, 3.7155415890934763`*^9,
3.715541888825914*^9,
3.715542048234229*^9},ExpressionUUID->"dd4bfe9f-68f3-44b1-bdbf-\
a001289b8843"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]2"}], "+",
RowBox[{"e", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478750142623*^9,
3.7014787753036537`*^9}},ExpressionUUID->"51f90f0d-00ff-4c17-b308-\
ec5a8d1810e1"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->CompressedData["
1:eJxTTMoPSmVkYGBQA2I+UZ71TFNeOx5Iny7LDKRVKpfy+ALpKVMX2IHoMpGG
mgwgzbLrUw+ILk/jnQ6i69J/imYCaamKxr1lQPrFZq5LILpv050HIPrVQe+3
IPrwU8915UD6wtTwgDlAetnhKSEgmmlFzbvTa1877thYIHAWSP95sibsMpB+
V6YwGUR/3KlmfAVI34mI2vQZSM8Rjfj1BUgLy6SofgXSOc+Y9EH0v79BLiA6
KvPSWhB94szaTSDati7yMohuvye48RuQbv31TP47kPa7bm8Eoguf7S0A0c1G
LXuvrHvteCsskvcqkJ5la2cEotf0nvcC0TdfOxeA6FPO8S0gGgDI567H
"],ExpressionUUID->"1b71036b-54ec-4c98-b893-585fa7e84292"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Beta]3", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"-", "b"}], "*", "\[Alpha]3"}], "+",
RowBox[{"f", "*", "x23"}]}], ")"}], "/", "c"}]}]], "Input",
CellChangeTimes->{{3.701478780471246*^9, 3.7014788005187063`*^9}, {
3.701687245982609*^9,
3.701687246202471*^9}},ExpressionUUID->"3dabda23-e17b-4547-b636-\
5afe9c479f09"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "0"}], "}"}]], "Output",
CellChangeTimes->{
3.701478800863476*^9, 3.7014796664636602`*^9, 3.701631079002097*^9,
3.7016314784018917`*^9, {3.701687247289452*^9, 3.701687268791263*^9},
3.7016874005535*^9, 3.70168748127125*^9, 3.7016884966655807`*^9,
3.7017164634761353`*^9, 3.701716626277302*^9, 3.701716744153308*^9,
3.7017168443712263`*^9, 3.701718388079705*^9, 3.701793411488365*^9,
3.701793445312545*^9, 3.7149981333684397`*^9, 3.715000453553586*^9,
3.7150133024607153`*^9, 3.7150137867983828`*^9, 3.71501506641821*^9,
3.7150795718632183`*^9, 3.715082196043024*^9, 3.715082539885995*^9,
3.715082617694231*^9, 3.715082787719906*^9, 3.715083635657139*^9,
3.715083673615857*^9, 3.715083935027257*^9, 3.715085705888942*^9,
3.715086593450349*^9, 3.7150867393203897`*^9, 3.7150872390067673`*^9,
3.715540461450508*^9, 3.715541099778751*^9, 3.715541397253338*^9,
3.715541597557276*^9, 3.715541891374627*^9,
3.7155420521738853`*^9},ExpressionUUID->"5f50b6fc-9f7e-4917-9540-\
fc50ba2427a7"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]1", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"a", "*", "x31"}], "+",
RowBox[{"b", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"d", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]1"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]1"}]}], "\[Minus]",
RowBox[{"d", "*", "x11"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478803248556*^9, 3.70147884859641*^9}, {
3.7014794288034782`*^9,
3.701479459657062*^9}},ExpressionUUID->"41f79e70-be4d-4879-b3ff-\
437bfd0def4c"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+",
RowBox[{"2", " ", "d"}], "-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "a"}], "+",
RowBox[{"2", " ", "b"}]}], ")"}], " ", "e"}], "c"]}], "f"], ",",
RowBox[{"-",
FractionBox[
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{"-", "a"}], "+",
RowBox[{"2", " ", "b"}]}], ")"}], " ", "e"}],
RowBox[{"c", " ", "f"}]]}], ",",
FractionBox[
RowBox[{
RowBox[{"-", "a"}], "+",
RowBox[{"2", " ", "d"}]}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478849024823*^9, 3.7014794604901247`*^9, 3.7014796679474*^9,
3.701631081407688*^9, 3.70163147955704*^9, {3.701687260078843*^9,
3.701687269616873*^9}, 3.701687401320037*^9, 3.7016874820405703`*^9,
3.701688497669379*^9, 3.701716464993425*^9, 3.701716628029338*^9,
3.701716748083529*^9, 3.70171684516019*^9, 3.7017183888435497`*^9,
3.7017934121769667`*^9, 3.701793446003112*^9, 3.7149981350402308`*^9,
3.715000455962626*^9, 3.7150133036849403`*^9, 3.715013789128027*^9,
3.7150150675781593`*^9, 3.7150795729100647`*^9, 3.715082197411193*^9,
3.7150825407296867`*^9, 3.7150826191083403`*^9, 3.715082788514152*^9, {
3.715083648931816*^9, 3.715083674768713*^9}, 3.715083943096274*^9,
3.715085706865843*^9, 3.715086595180401*^9, 3.7150867407954617`*^9,
3.715087240287603*^9, 3.715540462814619*^9, 3.715541100827474*^9,
3.715541398591964*^9, 3.715541599414734*^9, 3.715541892488496*^9,
3.7155420562072067`*^9},ExpressionUUID->"db7fa1ff-90f3-4d09-8ef0-\
ed2ca2e63d8f"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\[Gamma]2", "=",
RowBox[{
RowBox[{"(",
RowBox[{
RowBox[{
RowBox[{"\[Minus]", "e"}], "*", "x22"}], "+",
RowBox[{"c", "*", "x32"}], "+",
RowBox[{
RowBox[{
RowBox[{"e", "*", "x33"}], "\[Minus]",
RowBox[{"e", "*", "\[Beta]2"}]}], "\[Minus]",
RowBox[{"d", "*", "\[Alpha]2"}]}]}], ")"}], "/", "f"}]}]], "Input",
CellChangeTimes->{{3.701478859504335*^9, 3.7014788845548573`*^9}, {
3.70147947565406*^9,
3.701479496230978*^9}},ExpressionUUID->"36480fb7-cbae-4ad5-ac2c-\
c63017f21bdb"],
Cell[BoxData[
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-",
FractionBox[
RowBox[{"2", " ", "e"}], "f"]}], ",",
FractionBox[
RowBox[{"2", " ", "e"}], "f"]}], "}"}]], "Output",
CellChangeTimes->{
3.701478885162715*^9, 3.701479497157612*^9, 3.701479671880685*^9,
3.701631082608848*^9, 3.701631480971312*^9, 3.7016872705196466`*^9,
3.701687402337384*^9, 3.701687482792966*^9, 3.701688499034272*^9,
3.701716466305504*^9, 3.701716629060253*^9, 3.7017167499781847`*^9,
3.701716846275146*^9, 3.7017183902986107`*^9, 3.7017934132134857`*^9,
3.701793446854583*^9, 3.714998136593092*^9, 3.7150004584740877`*^9,
3.715013304782764*^9, 3.71501379084731*^9, 3.715015078530302*^9,
3.715079574019553*^9, 3.715082198755982*^9, 3.715082541496759*^9,
3.715082620275529*^9, 3.7150827892742434`*^9, {3.715083650200632*^9,
3.715083678143072*^9}, 3.715083951624587*^9, 3.715085707579352*^9,
3.7150865968662443`*^9, 3.7150867423981743`*^9, 3.715087241390513*^9,
3.715540465020681*^9, 3.715541101777328*^9, 3.7155413998951483`*^9,
3.715541601381453*^9, 3.715541894685027*^9,
3.715542059328568*^9},ExpressionUUID->"01dd8bd5-1362-4689-8b3b-\
6131ed7d98d2"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell["Basis Solver", "Section",
CellChangeTimes->{{3.714759917126017*^9,
3.714759920665296*^9}},ExpressionUUID->"83b1ee26-2941-4d3b-8e2a-\
0a843cfb97ad"],
Cell[BoxData[{
RowBox[{
RowBox[{"a1", "=", "1"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"a2", "=", "1"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"a3", " ", "=", " ", "1"}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"b3", " ", "=", " ",
RowBox[{"-", "1"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.714917287290737*^9, 3.714917312081378*^9}, {
3.714917513063981*^9, 3.7149175174563713`*^9}, {3.714928325397023*^9,
3.7149283260772953`*^9}, {3.7149283847157717`*^9, 3.714928385026836*^9}, {
3.714935921171836*^9, 3.71493592592176*^9}, {3.714936555831678*^9,
3.714936562335251*^9}, {3.714936656029841*^9, 3.714936692083303*^9}, {
3.714937157408134*^9, 3.714937157647513*^9}, {3.71493738050559*^9,
3.714937383057074*^9}, {3.714996930170774*^9, 3.714996942529217*^9}, {
3.7149970551346283`*^9, 3.714997101195513*^9}, 3.7149974999889097`*^9,
3.714997616950651*^9, {3.715085725031177*^9,
3.7150857353583117`*^9}},ExpressionUUID->"c9652c80-8038-45eb-9777-\
2ce911f175ae"],
Cell[BoxData[
RowBox[{
RowBox[{"A", "=", "3"}], ";",
RowBox[{"B", "=", "4"}], ";",
RowBox[{"Cc", "=", "6"}], ";",
RowBox[{"Dd", "=",
RowBox[{"-", "2"}]}], ";",
RowBox[{"Ee", "=",
RowBox[{"-", "1.5"}]}], ";",
RowBox[{"F", "=", "0"}], ";"}]], "Input",
CellChangeTimes->{{3.7149363282707653`*^9, 3.714936356659576*^9}, {
3.714936466962833*^9, 3.7149365076987123`*^9}, {3.7149365932928543`*^9,
3.71493660890238*^9}, {3.714936880573599*^9, 3.7149369006786833`*^9}, {
3.714937171388694*^9, 3.714937175711096*^9}, {3.714937320345911*^9,
3.714937325272504*^9}, {3.714937356342805*^9, 3.7149373738893337`*^9}, {
3.714996776440027*^9, 3.714996781416691*^9}, {3.71499685305058*^9,
3.714996871461132*^9}, {3.714996902598578*^9, 3.7149969032994347`*^9}, {
3.714996947628262*^9, 3.7149970089352694`*^9}, {3.714997683964139*^9,
3.714997699083131*^9}, {3.715085730157529*^9,
3.715085765021544*^9}},ExpressionUUID->"165cebd0-82d8-4630-8ef7-\
9ccdf3f04066"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{"Solve", "[",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{
RowBox[{
RowBox[{"b1", "*", "b1"}], "+",
RowBox[{"b2", "*", "b2"}], "+",
RowBox[{"b3", "*", "b3"}]}], "\[Equal]", "B"}], ",",
RowBox[{
RowBox[{
RowBox[{"c1", "*", "c1"}], "+",
RowBox[{"c2", "*", "c2"}], "+",
RowBox[{"c3", "*", "c3"}]}], "\[Equal]", "Cc"}], ",",
RowBox[{
RowBox[{
RowBox[{"a1", "*", "b1"}], "+",
RowBox[{"a2", "*", "b2"}], "+",
RowBox[{"a3", "*", "b3"}]}], "\[Equal]", "F"}], ",",
RowBox[{
RowBox[{
RowBox[{"a1", "*", "c1"}], "+",
RowBox[{"a2", "*", "c2"}], "+",
RowBox[{"a3", "*", "c3"}]}], "\[Equal]", "Ee"}], ",",
RowBox[{
RowBox[{
RowBox[{"b1", "*", "c1"}], "+",
RowBox[{"b2", "*", "c2"}], "+",
RowBox[{"b3", "*", "c3"}]}], "\[Equal]", "Dd"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{"b1", ",", "b2", ",", "c1", ",", "c2", ",", "c3"}], "}"}]}],
"]"}], "//", "N"}]], "Input",
CellChangeTimes->{{3.714746415739388*^9, 3.71474649342638*^9}, {
3.714746545209449*^9, 3.714746568839196*^9}, {3.714746785345951*^9,
3.714746785557665*^9}, {3.714750484197618*^9, 3.7147505704646807`*^9}, {
3.714750692557027*^9, 3.714750692947577*^9}, {3.714750770469781*^9,
3.714750788423072*^9}, {3.714750856397128*^9, 3.7147508566844263`*^9}, {
3.714753589134961*^9, 3.714753595118361*^9}, {3.714753722298443*^9,
3.7147537349765663`*^9}, {3.714755339839028*^9, 3.714755351537589*^9}, {
3.714759332948277*^9, 3.714759344434164*^9}, {3.714759431240191*^9,
3.71475943142242*^9}, {3.714759503051187*^9, 3.714759519706697*^9}, {
3.714759568144751*^9, 3.7147595705204563`*^9}, {3.71476017500463*^9,
3.7147601779748793`*^9}, {3.714760277955723*^9, 3.714760279698841*^9}, {
3.7148460048652267`*^9, 3.714846092420601*^9}, {3.714917317295083*^9,
3.714917376867489*^9}, {3.714917458872139*^9, 3.7149174771146793`*^9}, {
3.71491752385085*^9, 3.71491752444094*^9}, {3.714917918425764*^9,
3.714917923246521*^9}, {3.714918009857856*^9, 3.714918017242105*^9}, {
3.714918104405573*^9, 3.714918111287087*^9}, {3.7149181475428*^9,
3.714918161684745*^9}, {3.714925688343473*^9, 3.714925693447785*^9}, {
3.7149283699332848`*^9, 3.7149284094903*^9}, {3.71493593350356*^9,
3.714935936234661*^9}, {3.714935997894807*^9, 3.714936002554562*^9}, {
3.714936062819542*^9, 3.7149360807623253`*^9}, {3.7149362381819687`*^9,
3.714936259158678*^9}, {3.714936368209638*^9, 3.714936431402907*^9},
3.7149365117222967`*^9, {3.71493666198202*^9, 3.7149366624237432`*^9}, {
3.714936694813119*^9, 3.71493669556491*^9}, {3.7149970727499*^9,
3.7149970733592787`*^9}, {3.714997104252825*^9,
3.714997104604198*^9}},ExpressionUUID->"4fbd26a5-cffd-4522-aa35-\
7405d2c994e7"],
Cell[BoxData[
RowBox[{
StyleBox[
RowBox[{"Solve", "::", "ratnz"}], "MessageName"], ":",
" ", "\<\"Solve was unable to solve the system with inexact coefficients. \
The answer was obtained by solving a corresponding exact system and \
numericizing the result. \\!\\(\\*ButtonBox[\\\"\[RightSkeleton]\\\", \
ButtonStyle->\\\"Link\\\", ButtonFrame->None, \
ButtonData:>\\\"paclet:ref/Solve\\\", ButtonNote -> \
\\\"Solve::ratnz\\\"]\\)\"\>"}]], "Message", "MSG",
CellChangeTimes->{3.7149977011403713`*^9,
3.7150857707512417`*^9},ExpressionUUID->"98e06d8a-fad1-4ffd-9962-\
ce15ebbbe766"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"b1", "\[Rule]", "1.618033988749895`"}], ",",
RowBox[{"b2", "\[Rule]",
RowBox[{"-", "0.6180339887498949`"}]}], ",",
RowBox[{"c1", "\[Rule]",
RowBox[{"-", "1.5363322386648324`"}]}], ",",
RowBox[{"c2", "\[Rule]", "1.367058857220775`"}], ",",
RowBox[{"c3", "\[Rule]",
RowBox[{"-", "1.3307266185559428`"}]}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"b1", "\[Rule]", "1.618033988749895`"}], ",",
RowBox[{"b2", "\[Rule]",
RowBox[{"-", "0.6180339887498949`"}]}], ",",
RowBox[{"c1", "\[Rule]",
RowBox[{"-", "1.0817017500850625`"}]}], ",",
RowBox[{"c2", "\[Rule]",
RowBox[{"-", "1.7490248684708802`"}]}], ",",
RowBox[{"c3", "\[Rule]", "1.3307266185559428`"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"b1", "\[Rule]",
RowBox[{"-", "0.6180339887498949`"}]}], ",",
RowBox[{"b2", "\[Rule]", "1.618033988749895`"}], ",",
RowBox[{"c1", "\[Rule]",
RowBox[{"-", "1.7490248684708802`"}]}], ",",
RowBox[{"c2", "\[Rule]",
RowBox[{"-", "1.0817017500850625`"}]}], ",",
RowBox[{"c3", "\[Rule]", "1.3307266185559428`"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"b1", "\[Rule]",
RowBox[{"-", "0.6180339887498949`"}]}], ",",
RowBox[{"b2", "\[Rule]", "1.618033988749895`"}], ",",
RowBox[{"c1", "\[Rule]", "1.367058857220775`"}], ",",
RowBox[{"c2", "\[Rule]",
RowBox[{"-", "1.5363322386648324`"}]}], ",",
RowBox[{"c3", "\[Rule]",
RowBox[{"-", "1.3307266185559428`"}]}]}], "}"}]}], "}"}]], "Output",
CellChangeTimes->{
3.7147467351912947`*^9, 3.714746785995555*^9, {3.714750492880455*^9,
3.7147505712507544`*^9}, 3.7147506937144938`*^9, 3.7147507894493017`*^9,
3.7147508571005373`*^9, 3.714753595517296*^9, 3.714753735370969*^9,
3.7147553520477953`*^9, {3.714759505914709*^9, 3.714759520208434*^9},
3.714759576333436*^9, 3.714760182528345*^9, 3.714760290645005*^9,
3.7148460472592287`*^9, 3.714846093167211*^9, 3.71491747884048*^9,
3.714917525755597*^9, 3.7149179236557083`*^9, 3.7149180177276373`*^9,
3.714918162569058*^9, 3.714925693960785*^9, 3.71492841066472*^9,
3.714928617199658*^9, 3.714936081386715*^9, {3.714936242475959*^9,
3.714936259607959*^9}, 3.714936390480193*^9, 3.7149364271336412`*^9, {
3.714936615687936*^9, 3.714936703506734*^9}, 3.714936903612213*^9,
3.714937182337676*^9, 3.7149373874405937`*^9, 3.714997011025714*^9, {
3.714997058073234*^9, 3.714997111823986*^9}, 3.714997701144486*^9,
3.715085770758347*^9},ExpressionUUID->"76ca18e0-4631-41b4-9c4c-\
45e3a8383925"]
}, Open ]],
Cell[BoxData[
RowBox[{"Clear", "[", "F", "]"}]], "Input",
CellChangeTimes->{{3.714936892011416*^9,
3.7149368947203903`*^9}},ExpressionUUID->"6ad46c76-92f5-4889-b63a-\
a4e6dcf3a1e7"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"Solve", "[",
RowBox[{
RowBox[{
RowBox[{"2", "*",
RowBox[{"Abs", "[",
RowBox[{"Dd", "+", "Ee", "+", "F"}], "]"}]}], "\[Equal]",
RowBox[{"A", "+", "B"}]}], ",", "F"}], "]"}]], "Input",
CellChangeTimes->{{3.7149360135616293`*^9, 3.714936048082062*^9}, {
3.714936252915289*^9, 3.7149362531179*^9}, 3.7149364750945272`*^9, {
3.714936515641974*^9, 3.714936536657792*^9}, {3.714996909050746*^9,
3.7149969109668407`*^9}},ExpressionUUID->"bdc8b7a5-732e-474c-9be3-\
746b702c4ed4"],
Cell[BoxData[
RowBox[{
StyleBox[
RowBox[{"Solve", "::", "ifun"}], "MessageName"], ":",
" ", "\<\"Inverse functions are being used by \[NoBreak]\\!\\(Solve\\)\
\[NoBreak], so some solutions may not be found; use Reduce for complete \
solution information. \\!\\(\\*ButtonBox[\\\"\[RightSkeleton]\\\", \
ButtonStyle->\\\"Link\\\", ButtonFrame->None, \
ButtonData:>\\\"paclet:ref/message/Solve/ifun\\\", ButtonNote -> \
\\\"Solve::ifun\\\"]\\)\"\>"}]], "Message", "MSG",
CellChangeTimes->{
3.7149360493527813`*^9, 3.7149362541444597`*^9, {3.714936531073834*^9,
3.714936537300066*^9}, 3.7149365986552277`*^9, {3.7149368867623053`*^9,
3.7149368965302677`*^9}, 3.7149373327334146`*^9, 3.714937366728128*^9,
3.714996787341997*^9, {3.7149968580711184`*^9, 3.714996879425123*^9},
3.714996911579583*^9, {3.714996963092166*^9, 3.714997003525004*^9},
3.714997694561125*^9},ExpressionUUID->"862d036c-c55a-4872-9365-\
645fcc6699d4"],
Cell[BoxData[
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"F", "\[Rule]",
RowBox[{"-", "2.5`"}]}], "}"}], ",",
RowBox[{"{",
RowBox[{"F", "\[Rule]", "9.5`"}], "}"}]}], "}"}]], "Output",
CellChangeTimes->{
3.714936049355709*^9, 3.714936254149822*^9, {3.714936531079426*^9,
3.714936537305991*^9}, 3.714936598663599*^9, {3.71493688676985*^9,
3.714936896537771*^9}, 3.714937332739724*^9, 3.7149373667345333`*^9,
3.714996787350031*^9, {3.7149968580745707`*^9, 3.714996879428111*^9},
3.7149969115834713`*^9, {3.7149969630953617`*^9, 3.71499700352914*^9},
3.71499769456754*^9},ExpressionUUID->"c55d4419-006e-4492-bb7b-\
b436ac80822b"]
}, Open ]],
Cell[BoxData[
RowBox[{"Clear", "[", "b3", "]"}]], "Input",
CellChangeTimes->{{3.714997075636672*^9,
3.714997077886277*^9}},ExpressionUUID->"41afbeda-ba78-4cd0-b52d-\
620d6e39de6a"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"1.25", "+", "2.25", "+", "2.5"}]], "Input",
CellChangeTimes->{{3.714997670249771*^9,
3.714997677412236*^9}},ExpressionUUID->"8e5dd3db-77b1-4428-8d6a-\
4d20a3958166"],
Cell[BoxData["6.`"], "Output",
CellChangeTimes->{{3.714997672929041*^9,
3.714997677823867*^9}},ExpressionUUID->"c55d4d0a-e929-442d-93e4-\
7237c273a39b"]
}, Open ]],
Cell[BoxData[
RowBox[{"Clear", "[",
RowBox[{"c", ",", "f", ",", "e"}], "]"}]], "Input",
CellChangeTimes->{{3.7150004141188602`*^9,
3.715000420306241*^9}},ExpressionUUID->"b011c37c-5ad7-4dbf-8537-\
83e031f6580a"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{"c", "=", "1"}], ";",
RowBox[{"f", "=", "21"}], ";",
RowBox[{"e", "=", "20"}], ";",
FractionBox[
RowBox[{"c", "-",
FractionBox[
SuperscriptBox["e", "2"], "c"]}], "f"]}]], "Input",
CellChangeTimes->{{3.714999935239633*^9, 3.7149999752763147`*^9}, {
3.715000020006077*^9, 3.715000081703285*^9}, {3.715000265083564*^9,
3.715000353093431*^9}},ExpressionUUID->"6fc44a8c-b402-4252-9a1e-\
659ff3c4720f"],
Cell[BoxData[
RowBox[{"-", "19"}]], "Output",
CellChangeTimes->{{3.714999953614689*^9, 3.714999975864874*^9}, {
3.7150000226639357`*^9, 3.715000041205698*^9}, {3.715000071948867*^9,
3.7150000821166773`*^9}, {3.7150002679314327`*^9,
3.715000353829156*^9}},ExpressionUUID->"4fe6c3a9-8210-49f2-bc97-\
ccedf9c451b8"]
}, Open ]],
Cell[BoxData[{
RowBox[{
RowBox[{"Oo", " ", "=", " ",
RowBox[{"Transpose", "[",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"1", ",", "2", ",", "2"}], "}"}], ",",
RowBox[{"{",
RowBox[{"2", ",", "1", ",", "2"}], "}"}], ",",
RowBox[{"{",
RowBox[{"4", ",", "3", ",", "3"}], "}"}]}], "}"}], "]"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"No", " ", "=", " ",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",",
RowBox[{"-", "1"}], ",", "1"}], "}"}], ",",
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "2"}], "}"}], ",",
RowBox[{"{",
RowBox[{"0", ",", "1", ",", "2"}], "}"}]}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"Co", " ", "=", " ",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"1", ",", "1", ",", "1"}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "1", ",", "0"}], "}"}], ",",
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}]}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"H", " ", "=", " ",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}], ",",
RowBox[{"{",
RowBox[{"0", ",", "2", ",", "0"}], "}"}], ",",
RowBox[{"{",
RowBox[{"19", ",", "12", ",", "26"}], "}"}]}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"U", " ", "=", " ",
RowBox[{"Transpose", "[",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"3", ",", "4", ",", "3"}], "}"}], ",",
RowBox[{"{",
RowBox[{"3", ",", "3", ",", "4"}], "}"}], ",",
RowBox[{"{",
RowBox[{"4", ",", "3", ",", "3"}], "}"}]}], "}"}], "]"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"Cu", " ", "=", " ",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"0", ",",
RowBox[{"-", "1"}], ",", "0"}], "}"}], ",",
RowBox[{"{",
RowBox[{"1", ",", "1", ",", "1"}], "}"}], ",",
RowBox[{"{",
RowBox[{
RowBox[{"-", "1"}], ",", "0", ",", "0"}], "}"}]}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"S", " ", "=", " ",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{"1", ",", "0", ",", "0"}], "}"}], ",",
RowBox[{"{",
RowBox[{"0", ",", "1", ",", "0"}], "}"}], ",",
RowBox[{"{",
RowBox[{"0", ",", "0", ",", "2"}], "}"}]}], "}"}]}],
";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"R", " ", "=", " ",
RowBox[{"{",
RowBox[{
RowBox[{"{",
RowBox[{
RowBox[{"-", "0.40563494"}], ",", "0.59436506", ",", "0.59436506"}],
"}"}], ",",
RowBox[{"{",
RowBox[{"0.68873013", ",",
RowBox[{"-", "0.31126987"}], ",", "0.68873013"}], "}"}], ",",
RowBox[{"{",
RowBox[{"0.68873013", ",", "0.68873013", ",",
RowBox[{"-", "0.31126987"}]}], "}"}]}], "}"}]}], ";"}]}], "Input",
CellChangeTimes->{{3.715010595613899*^9, 3.715010605941823*^9}, {
3.715010636247076*^9, 3.715010738697616*^9}, {3.715073016895669*^9,
3.715073146414877*^9}},ExpressionUUID->"643f60bc-efa9-4a27-bf13-\
4dc46a3211f9"],
Cell[BoxData[{
RowBox[{
RowBox[{"So", " ", "=", " ",
RowBox[{"Oo", ".", "H"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"Os", " ", "=", " ",
RowBox[{
RowBox[{"(",
RowBox[{"No", ".", "S"}], ")"}], ".",
RowBox[{"Inverse", "[", "Co", "]"}]}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"So", " ", "=", " ",
RowBox[{"Os", ".", "H"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"SNo", " ", "=", " ",
RowBox[{"So", ".", "Co"}]}], ";"}], "\[IndentingNewLine]",
RowBox[{
RowBox[{
RowBox[{"SNu", " ", "=", " ",
RowBox[{
RowBox[{"Inverse", "[", "R", "]"}], ".", "SNo"}]}], ";"}],
RowBox[{"(*",
RowBox[{
RowBox[{".",
RowBox[{"(",
RowBox[{"SNo", ".", "S"}], ")"}]}], ";"}],
"*)"}]}], "\[IndentingNewLine]",
RowBox[{
RowBox[{"Su", " ", "=", " ",
RowBox[{"SNu", ".",
RowBox[{"Inverse", "[", "Cu", "]"}]}]}], ";"}]}], "Input",
CellChangeTimes->{{3.71501076657331*^9, 3.715010793780738*^9}, {
3.715073159240856*^9, 3.715073223462206*^9}, {3.715078238042286*^9,
3.715078305406152*^9}, {3.715081088408897*^9,
3.715081103814837*^9}},ExpressionUUID->"d6324945-47ca-4a4a-87bf-\
60df54a46b0e"],
Cell[CellGroupData[{
Cell[BoxData[{
RowBox[{"MatrixForm", "[",
RowBox[{
RowBox[{"Inverse", "[", "Oo", "]"}], ".", "SNo"}],
"]"}], "\[IndentingNewLine]",
RowBox[{"MatrixForm", "[",
RowBox[{
RowBox[{"Inverse", "[", "U", "]"}], ".", "SNu"}],
"]"}], "\[IndentingNewLine]",
RowBox[{"MatrixForm", "[",
RowBox[{
RowBox[{"Inverse", "[", "U", "]"}], ".", "Su"}], "]"}]}], "Input",
CellChangeTimes->{{3.7150108079879932`*^9, 3.715010827151939*^9}, {
3.715010877119886*^9, 3.71501088105964*^9}, {3.715072996057366*^9,
3.715073004848106*^9}, {3.715073236157712*^9,
3.715073263758202*^9}},ExpressionUUID->"b43bcc4c-3cba-4807-b65b-\
acc648032f66"],
Cell[BoxData[
TagBox[
RowBox[{"(", "\[NoBreak]", GridBox[{
{"14", "14", "40"},
{
RowBox[{"-", "2"}], "2", "0"},
{"7", "5", "19"}
},
GridBoxAlignment->{
"Columns" -> {{Center}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}},
"RowsIndexed" -> {}},
GridBoxSpacings->{"Columns" -> {
Offset[0.27999999999999997`], {
Offset[0.7]},
Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> {
Offset[0.2], {
Offset[0.4]},
Offset[0.2]}, "RowsIndexed" -> {}}], "\[NoBreak]", ")"}],
Function[BoxForm`e$,
MatrixForm[BoxForm`e$]]]], "Output",
CellChangeTimes->{{3.715010816756969*^9, 3.7150108279721193`*^9},
3.715010881560886*^9, {3.715073242279983*^9, 3.7150732641411533`*^9}, {
3.7150782876964827`*^9, 3.715078311326593*^9},
3.7150811109318857`*^9},ExpressionUUID->"ae8989b5-8ba4-4ed8-a62f-\
6c5ab3d57d5d"],
Cell[BoxData[
TagBox[
RowBox[{"(", "\[NoBreak]", GridBox[{
{"5.000000267537795`", "7.000000267537795`", "19.000000802613393`"},
{"7.000000267537793`", "5.000000267537789`", "19.000000802613357`"},
{"1.3768890483322593`", "1.3768890483322629`", "2.130667144996785`"}
},
GridBoxAlignment->{
"Columns" -> {{Center}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}},
"RowsIndexed" -> {}},
GridBoxSpacings->{"Columns" -> {
Offset[0.27999999999999997`], {
Offset[0.7]},
Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> {
Offset[0.2], {
Offset[0.4]},
Offset[0.2]}, "RowsIndexed" -> {}}], "\[NoBreak]", ")"}],
Function[BoxForm`e$,
MatrixForm[BoxForm`e$]]]], "Output",
CellChangeTimes->{{3.715010816756969*^9, 3.7150108279721193`*^9},
3.715010881560886*^9, {3.715073242279983*^9, 3.7150732641411533`*^9}, {
3.7150782876964827`*^9, 3.715078311326593*^9},
3.71508111093839*^9},ExpressionUUID->"3f70b872-5261-496d-aa9b-\
f5b9e2bfc9c2"],
Cell[BoxData[
TagBox[
RowBox[{"(", "\[NoBreak]", GridBox[{
{"12.00000053507559`", "19.000000802613393`", "14.000000535075596`"},
{"14.000000535075571`", "19.000000802613357`", "12.000000535075571`"},
{"0.7537780966645258`", "2.130667144996785`", "0.7537780966645258`"}
},
GridBoxAlignment->{
"Columns" -> {{Center}}, "ColumnsIndexed" -> {}, "Rows" -> {{Baseline}},
"RowsIndexed" -> {}},
GridBoxSpacings->{"Columns" -> {
Offset[0.27999999999999997`], {
Offset[0.7]},
Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows" -> {
Offset[0.2], {
Offset[0.4]},
Offset[0.2]}, "RowsIndexed" -> {}}], "\[NoBreak]", ")"}],
Function[BoxForm`e$,
MatrixForm[BoxForm`e$]]]], "Output",
CellChangeTimes->{{3.715010816756969*^9, 3.7150108279721193`*^9},
3.715010881560886*^9, {3.715073242279983*^9, 3.7150732641411533`*^9}, {
3.7150782876964827`*^9, 3.715078311326593*^9},
3.71508111094346*^9},ExpressionUUID->"fcde34e3-5402-4ddd-bbf7-\
7886a47416ae"]
}, Open ]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{
RowBox[{"(",
RowBox[{"1", "-",
SuperscriptBox["14", "2"]}], ")"}], "/", "15"}]], "Input",
CellChangeTimes->{{3.715012645524325*^9,
3.715012684365382*^9}},ExpressionUUID->"63c58a38-3344-4db0-8a13-\
cd19a2934909"],
Cell[BoxData[
RowBox[{"-", "13"}]], "Output",
CellChangeTimes->{{3.715012650664957*^9,
3.7150126847409077`*^9}},ExpressionUUID->"01aa3777-80b6-440a-b3f8-\
c6ae64edd148"]
}, Open ]]
}, Open ]]
},
WindowSize->{931, 1027},
WindowMargins->{{3, Automatic}, {-28, Automatic}},
FrontEndVersion->"11.2 for Linux x86 (64-bit) (September 10, 2017)",
StyleDefinitions->"Default.nb"
]
(* End of Notebook Content *)
(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{}
*)
(*CellTagsIndex
CellTagsIndex->{}
*)
(*NotebookFileOutline
Notebook[{
Cell[CellGroupData[{
Cell[580, 22, 179, 3, 68, "Section",ExpressionUUID->"1db6d3aa-9349-4ee9-bfdf-b5d4a2553051"],
Cell[762, 27, 299, 8, 81, "Text",ExpressionUUID->"6b29881a-e9ff-4fdb-a9b3-a7aa71581cbf"],
Cell[1064, 37, 1670, 54, 216, "Input",ExpressionUUID->"33a8d7eb-354f-4a0d-a0c6-9350f633ba37"],
Cell[CellGroupData[{
Cell[2759, 95, 313, 9, 31, "Input",ExpressionUUID->"b609716b-6880-4a5f-b4d9-20299fabdd13"],
Cell[3075, 106, 462, 11, 54, "Output",ExpressionUUID->"8e7fba10-4a31-4e3c-864e-d6a172d585fb"]
}, Open ]],
Cell[CellGroupData[{
Cell[3574, 122, 360, 10, 31, "Input",ExpressionUUID->"4e83e915-5010-43d3-a630-3b872b451154"],
Cell[3937, 134, 462, 11, 51, "Output",ExpressionUUID->"01204e57-5adf-4e4f-bb81-62cdb9030a0a"]
}, Open ]],
Cell[CellGroupData[{
Cell[4436, 150, 230, 6, 31, "Input",ExpressionUUID->"60b096af-6665-4289-8e99-03be154f7ce4"],
Cell[4669, 158, 418, 9, 54, "Output",ExpressionUUID->"95dd31d9-f7a2-43b8-9428-a753abd74357"]
}, Open ]],
Cell[CellGroupData[{
Cell[5124, 172, 451, 13, 31, "Input",ExpressionUUID->"5d283ac8-1122-4717-b73a-766489388038"],
Cell[5578, 187, 718, 20, 69, "Output",ExpressionUUID->"9b13450a-1c75-4a7b-a4cf-3e24c947e456"]
}, Open ]],
Cell[CellGroupData[{
Cell[6333, 212, 340, 10, 31, "Input",ExpressionUUID->"afe59012-aa77-45ab-b779-de137ee28c7a"],
Cell[6676, 224, 604, 17, 65, "Output",ExpressionUUID->"7b01fa32-389c-46ec-9a45-4151ea204c59"]
}, Open ]],
Cell[CellGroupData[{
Cell[7317, 246, 389, 11, 31, "Input",ExpressionUUID->"1651d1eb-9db8-441b-868a-779c20e2ea97"],
Cell[7709, 259, 548, 14, 65, "Output",ExpressionUUID->"fd273ecc-ad67-4d30-9de7-7b60b815f4e2"]
}, Open ]],
Cell[CellGroupData[{
Cell[8294, 278, 605, 17, 31, "Input",ExpressionUUID->"11341060-1233-4525-a8ea-5b81dc212a4c"],
Cell[8902, 297, 1178, 36, 74, "Output",ExpressionUUID->"0c80cc35-9cea-48b6-aa87-386895c56725"]
}, Open ]],
Cell[CellGroupData[{
Cell[10117, 338, 567, 16, 31, "Input",ExpressionUUID->"5b226843-0b54-49e1-b47f-04283f79ad06"],
Cell[10687, 356, 971, 29, 74, "Output",ExpressionUUID->"508b698e-a9db-43f4-bb84-f5da6539b7be"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[11707, 391, 230, 4, 68, "Section",ExpressionUUID->"5780317b-080c-4991-8df8-a805fb8a465a"],
Cell[11940, 397, 339, 9, 81, "Text",ExpressionUUID->"01ff92f3-e35e-4b1d-a98b-a4691fb6e8bb"],
Cell[12282, 408, 1742, 56, 216, "Input",ExpressionUUID->"a055997b-8cd8-42ba-8942-8bd750fa0d6b"],
Cell[CellGroupData[{
Cell[14049, 468, 313, 9, 31, "Input",ExpressionUUID->"967925ab-576e-442f-9795-a202977b27f7"],
Cell[14365, 479, 495, 11, 54, "Output",ExpressionUUID->"f49bd9d2-cb30-4ac3-ad07-4f3a1f9525ab"]
}, Open ]],
Cell[CellGroupData[{
Cell[14897, 495, 360, 10, 31, "Input",ExpressionUUID->"6655e3f7-ae9d-4fbc-b064-b46f225b4053"],
Cell[15260, 507, 500, 12, 51, "Output",ExpressionUUID->"22c957a3-61f1-4d26-a0bc-0d61dfa4ae09"]
}, Open ]],
Cell[CellGroupData[{
Cell[15797, 524, 230, 6, 31, "Input",ExpressionUUID->"0caa2e8b-896d-43b9-b002-d4993863b26d"],
Cell[16030, 532, 500, 12, 54, "Output",ExpressionUUID->"4ff092c1-6bd9-4be5-9fbc-ab90d55cfdd0"]
}, Open ]],
Cell[CellGroupData[{
Cell[16567, 549, 451, 13, 31, "Input",ExpressionUUID->"79270706-3e90-4478-8f66-594b12720e8e"],
Cell[17021, 564, 693, 18, 65, "Output",ExpressionUUID->"b17ad0dd-5e27-48c8-ae4a-8e94ee20a3e9"]
}, Open ]],
Cell[CellGroupData[{
Cell[17751, 587, 340, 10, 31, "Input",ExpressionUUID->"de0b4c68-a1b7-4924-ae9a-e9db44ff1c59"],
Cell[18094, 599, 610, 16, 65, "Output",ExpressionUUID->"39969514-9b1e-4f75-9fc8-c1e901420653"]
}, Open ]],
Cell[CellGroupData[{
Cell[18741, 620, 389, 11, 31, "Input",ExpressionUUID->"2ee4f9aa-d92d-4166-b5ed-462ccdf76a2f"],
Cell[19133, 633, 641, 17, 65, "Output",ExpressionUUID->"43087fcd-3953-472e-9063-f4f2d768c8cc"]
}, Open ]],
Cell[CellGroupData[{
Cell[19811, 655, 605, 17, 31, "Input",ExpressionUUID->"de7d49ed-6e92-40dd-ac10-4adb71fd8fa7"],
Cell[20419, 674, 1136, 35, 74, "Output",ExpressionUUID->"3a802f18-729b-4978-b465-cbdce52ee8f9"]
}, Open ]],
Cell[CellGroupData[{
Cell[21592, 714, 567, 16, 31, "Input",ExpressionUUID->"bfcec102-3350-47f1-b832-0540e32d8e5a"],
Cell[22162, 732, 973, 29, 74, "Output",ExpressionUUID->"9cc80431-5907-49b1-8481-66c5086fb263"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[23184, 767, 284, 5, 68, "Section",ExpressionUUID->"940e4427-04ca-484d-a1cf-8f40cbbc403c"],
Cell[23471, 774, 385, 10, 81, "Text",ExpressionUUID->"6b9dc6ae-ab54-4ec7-a2b4-99833ef84490"],
Cell[23859, 786, 1790, 57, 216, "Input",ExpressionUUID->"0eb8f0ee-7708-4daa-a52e-cd07675b28d2"],
Cell[CellGroupData[{
Cell[25674, 847, 313, 9, 31, "Input",ExpressionUUID->"e6fbafdb-b523-4c57-9d23-b6f4a25c5425"],
Cell[25990, 858, 522, 12, 54, "Output",ExpressionUUID->"0f10f815-ecd5-40a8-8e2a-1acbc84dca91"]
}, Open ]],
Cell[CellGroupData[{
Cell[26549, 875, 360, 10, 31, "Input",ExpressionUUID->"afff5c8e-f54e-43c5-96d3-54185ba2f2bc"],
Cell[26912, 887, 521, 12, 51, "Output",ExpressionUUID->"55d2d9f3-6600-4409-bbdc-775452efc89f"]
}, Open ]],
Cell[CellGroupData[{
Cell[27470, 904, 230, 6, 31, "Input",ExpressionUUID->"01dcce6c-c900-44c6-9593-82c17afb93b0"],
Cell[27703, 912, 440, 8, 35, "Output",ExpressionUUID->"f7d36001-6237-4eea-a1f4-2693d728a4cb"]
}, Open ]],
Cell[CellGroupData[{
Cell[28180, 925, 451, 13, 31, "Input",ExpressionUUID->"87e22f25-125b-4d67-af09-18a3d8b53840"],
Cell[28634, 940, 724, 19, 68, "Output",ExpressionUUID->"dbf74b1f-47b5-455d-8d03-7c460f6953fd"]
}, Open ]],
Cell[CellGroupData[{
Cell[29395, 964, 340, 10, 31, "Input",ExpressionUUID->"25b9d4c2-e0e0-436a-b018-c36236eb280b"],
Cell[29738, 976, 485, 10, 54, "Output",ExpressionUUID->"f224f143-bc0e-40b5-8286-f9fbb2379de7"]
}, Open ]],
Cell[CellGroupData[{
Cell[30260, 991, 389, 11, 31, "Input",ExpressionUUID->"aecdd47f-012a-4a4e-83f5-3cee9385940e"],
Cell[30652, 1004, 472, 9, 35, "Output",ExpressionUUID->"d81abb8c-f174-417e-ba3e-2d6df7c0bf20"]
}, Open ]],
Cell[CellGroupData[{
Cell[31161, 1018, 605, 17, 31, "Input",ExpressionUUID->"1dc58daa-16d3-422a-be0c-c066ed6555f9"],
Cell[31769, 1037, 1163, 36, 80, "Output",ExpressionUUID->"b81cc90e-ad45-4fe1-9268-972c9db682a0"]
}, Open ]],
Cell[CellGroupData[{
Cell[32969, 1078, 567, 16, 31, "Input",ExpressionUUID->"886deb0a-fbd7-4701-9884-09194697b793"],
Cell[33539, 1096, 832, 23, 65, "Output",ExpressionUUID->"e0b22ab1-9785-4a27-aa79-4aa2a8d1dcae"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[34420, 1125, 330, 5, 68, "Section",ExpressionUUID->"76d54f92-25ec-4070-831f-cc26d848440c"],
Cell[34753, 1132, 434, 10, 81, "Text",ExpressionUUID->"e219dca3-eaf5-411a-97fe-744b5f768b2f"],
Cell[35190, 1144, 1882, 58, 216, "Input",ExpressionUUID->"50c773c5-2c10-4996-ba09-0720604481ae"],
Cell[CellGroupData[{
Cell[37097, 1206, 313, 9, 31, "Input",ExpressionUUID->"f31f3628-5e5b-465d-bd52-81ce0e9208e2"],
Cell[37413, 1217, 541, 10, 35, "Output",ExpressionUUID->"cb8f83a4-97c9-4be2-a8f7-6953a5eb99bb"]
}, Open ]],
Cell[CellGroupData[{
Cell[37991, 1232, 360, 10, 31, "Input",ExpressionUUID->"08e2d02f-298c-4a82-b744-e0332e366549"],
Cell[38354, 1244, 542, 10, 35, "Output",ExpressionUUID->"7fcba6a9-d0d6-4d90-bced-7c8768f97783"]
}, Open ]],
Cell[CellGroupData[{
Cell[38933, 1259, 230, 6, 31, "Input",ExpressionUUID->"95c37e0e-2414-4975-ade1-d204435138d5"],
Cell[39166, 1267, 545, 10, 35, "Output",ExpressionUUID->"dbdd9083-56ec-44f9-9019-efb13b4e1749"]
}, Open ]],
Cell[CellGroupData[{
Cell[39748, 1282, 451, 13, 31, "Input",ExpressionUUID->"1e100d28-6917-4009-ba35-ec726fc227cf"],
Cell[40202, 1297, 645, 13, 54, "Output",ExpressionUUID->"b7b69a34-df18-46ee-a492-c7bdd52a52dc"]
}, Open ]],
Cell[CellGroupData[{
Cell[40884, 1315, 340, 10, 31, "Input",ExpressionUUID->"42f0e74c-08e5-443a-9104-9d1ec9028681"],
Cell[41227, 1327, 512, 9, 35, "Output",ExpressionUUID->"d6c000f7-1a35-488c-90e6-80047d12439c"]
}, Open ]],
Cell[CellGroupData[{
Cell[41776, 1341, 389, 11, 31, "Input",ExpressionUUID->"26a397bc-e901-4bbf-aec6-8359df850de8"],
Cell[42168, 1354, 544, 10, 35, "Output",ExpressionUUID->"90eabe28-c2c5-4ca8-aa7a-58a9291dc484"]
}, Open ]],
Cell[CellGroupData[{
Cell[42749, 1369, 605, 17, 31, "Input",ExpressionUUID->"6e5306cf-57f4-4da9-82c9-91a581891a57"],
Cell[43357, 1388, 818, 21, 54, "Output",ExpressionUUID->"86d5b6e3-1beb-4f0b-8337-57142812df5f"]
}, Open ]],
Cell[CellGroupData[{
Cell[44212, 1414, 567, 16, 31, "Input",ExpressionUUID->"b2690f2a-f331-492e-b0b2-ccd933ed3ef2"],
Cell[44782, 1432, 653, 15, 53, "Output",ExpressionUUID->"e708b36c-20f6-4908-b020-a341e245c010"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[45484, 1453, 159, 3, 68, "Section",ExpressionUUID->"5167eed8-3df4-46b6-adb3-f688fa967749"],
Cell[45646, 1458, 515, 11, 81, "Text",ExpressionUUID->"4fd8c9df-47bb-4a48-b0f0-406cf72e6b93"],
Cell[46164, 1471, 1949, 58, 216, "Input",ExpressionUUID->"c28c3437-7f28-4937-8078-8285dbb8f6a4"],
Cell[CellGroupData[{
Cell[48138, 1533, 313, 9, 31, "Input",ExpressionUUID->"4c0709e8-37a7-4362-8de4-8081e70de4f4"],
Cell[48454, 1544, 715, 15, 54, "Output",ExpressionUUID->"2a80303c-5e10-4870-9a77-0e4ac05d2846"]
}, Open ]],
Cell[CellGroupData[{
Cell[49206, 1564, 360, 10, 31, "Input",ExpressionUUID->"61b4b255-f5d9-46a3-a89e-c431226720b2"],
Cell[49569, 1576, 710, 15, 51, "Output",ExpressionUUID->"d1f3860f-8b88-4454-a51b-fd7e81b92f5d"]
}, Open ]],
Cell[CellGroupData[{
Cell[50316, 1596, 230, 6, 31, "Input",ExpressionUUID->"e2373f3c-a695-424f-a596-a2b86400db2f"],
Cell[50549, 1604, 666, 13, 54, "Output",ExpressionUUID->"939b47db-0883-4637-aa45-68b13e95b4d7"]
}, Open ]],
Cell[CellGroupData[{
Cell[51252, 1622, 451, 13, 31, "Input",ExpressionUUID->"79852196-d38f-4f1a-bba7-fc17b1a4a1fd"],
Cell[51706, 1637, 936, 23, 69, "Output",ExpressionUUID->"5a1b010a-b715-4617-828a-c3534d8d7ba8"]
}, Open ]],
Cell[CellGroupData[{
Cell[52679, 1665, 340, 10, 31, "Input",ExpressionUUID->"6382e5a7-2ce0-4fbd-9ac7-c4b666af3f8b"],
Cell[53022, 1677, 786, 19, 65, "Output",ExpressionUUID->"49427ca8-e541-4582-86c8-8097eb52a574"]
}, Open ]],
Cell[CellGroupData[{
Cell[53845, 1701, 389, 11, 31, "Input",ExpressionUUID->"c361c04d-255e-4a6e-8bd2-a7c3dddce1e9"],
Cell[54237, 1714, 736, 16, 65, "Output",ExpressionUUID->"c0e9a84c-97db-46c8-8d46-66838d1857f4"]
}, Open ]],
Cell[CellGroupData[{
Cell[55010, 1735, 605, 17, 31, "Input",ExpressionUUID->"8be36248-6688-4c58-b2e3-af87cf964382"],
Cell[55618, 1754, 1371, 39, 74, "Output",ExpressionUUID->"cdb937e4-cf98-4ef5-b6c5-cdb1a08e3166"]
}, Open ]],
Cell[CellGroupData[{
Cell[57026, 1798, 567, 16, 31, "Input",ExpressionUUID->"f53d29b1-897a-4712-8429-f0ce9cbd7ee6"],
Cell[57596, 1816, 1166, 32, 74, "Output",ExpressionUUID->"25876488-9fc2-42dd-b896-668bb735183c"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[58811, 1854, 161, 3, 68, "Section",ExpressionUUID->"d63ad734-2a24-432a-a2ab-48f89fa79d54"],
Cell[58975, 1859, 570, 12, 81, "Text",ExpressionUUID->"4cea5c8a-049f-4c5f-8685-d9a586c005fd"],
Cell[59548, 1873, 2058, 60, 216, "Input",ExpressionUUID->"0a7a4dc5-8d5d-4e8f-bf7e-34b1dd7a0ca4"],
Cell[CellGroupData[{
Cell[61631, 1937, 313, 9, 31, "Input",ExpressionUUID->"e7888a54-5f4b-48d2-ac83-936dfd1779bf"],
Cell[61947, 1948, 689, 14, 54, "Output",ExpressionUUID->"e65ff17c-1877-4cc6-8468-810d28c72233"]
}, Open ]],
Cell[CellGroupData[{
Cell[62673, 1967, 360, 10, 31, "Input",ExpressionUUID->"4eaa0fed-b19a-484b-af3c-a7caf613df1b"],
Cell[63036, 1979, 682, 14, 51, "Output",ExpressionUUID->"6111c6d6-eaa4-4aca-891f-73a1350783db"]
}, Open ]],
Cell[CellGroupData[{
Cell[63755, 1998, 230, 6, 31, "Input",ExpressionUUID->"aac71206-4906-403f-8b34-4d5f93e89e0c"],
Cell[63988, 2006, 686, 14, 54, "Output",ExpressionUUID->"c0cdb240-1595-41a5-9f7f-65da12696c47"]
}, Open ]],
Cell[CellGroupData[{
Cell[64711, 2025, 451, 13, 31, "Input",ExpressionUUID->"6c07f809-51d7-4efb-b1b7-8d94f4e86063"],
Cell[65165, 2040, 885, 20, 65, "Output",ExpressionUUID->"790e7ec2-7561-4897-9e1e-c307fd15f3b8"]
}, Open ]],
Cell[CellGroupData[{
Cell[66087, 2065, 340, 10, 31, "Input",ExpressionUUID->"ea8c66c6-8b5c-422d-91c8-287ab03c56a8"],
Cell[66430, 2077, 742, 17, 65, "Output",ExpressionUUID->"7b179ff4-8f33-4a50-b537-855250b9037d"]
}, Open ]],
Cell[CellGroupData[{
Cell[67209, 2099, 389, 11, 31, "Input",ExpressionUUID->"41baa094-ac94-41e6-af7f-72d27e11eb0e"],
Cell[67601, 2112, 779, 18, 65, "Output",ExpressionUUID->"f47422a4-6cd1-403d-8f9b-f7d84cbfe2f8"]
}, Open ]],
Cell[CellGroupData[{
Cell[68417, 2135, 605, 17, 31, "Input",ExpressionUUID->"d465a03c-eff3-403f-b918-10da88080045"],
Cell[69025, 2154, 1196, 33, 74, "Output",ExpressionUUID->"a6f75264-dbb6-4275-bedd-a85090ed1833"]
}, Open ]],
Cell[CellGroupData[{
Cell[70258, 2192, 567, 16, 31, "Input",ExpressionUUID->"9b74a25d-92e0-43cb-a3cf-15fe030c8a47"],
Cell[70828, 2210, 1082, 30, 74, "Output",ExpressionUUID->"9ab04b56-0dba-438f-8a0b-c004ecc14543"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[71959, 2246, 164, 3, 68, "Section",ExpressionUUID->"e9385ec6-5194-4ecc-bce1-30c0d37e7674"],
Cell[72126, 2251, 616, 12, 81, "Text",ExpressionUUID->"b4d17588-e3ea-424b-9f2d-3e8ae253e797"],
Cell[72745, 2265, 2046, 59, 216, "Input",ExpressionUUID->"3f288895-cdbd-49f8-8329-941654f8ee27"],
Cell[CellGroupData[{
Cell[74816, 2328, 313, 9, 31, "Input",ExpressionUUID->"ed8edf1c-e4f2-4b5b-b4ec-f34eb3813158"],
Cell[75132, 2339, 737, 15, 54, "Output",ExpressionUUID->"e0ad8ef3-c54b-4233-a7cd-2aa01df98be8"]
}, Open ]],
Cell[CellGroupData[{
Cell[75906, 2359, 360, 10, 31, "Input",ExpressionUUID->"56d491b3-f5ee-486a-af4f-2defe53263ca"],
Cell[76269, 2371, 732, 15, 51, "Output",ExpressionUUID->"9b4b4768-82d4-4201-9ac9-4c2bb15c0f17"]
}, Open ]],
Cell[CellGroupData[{
Cell[77038, 2391, 230, 6, 31, "Input",ExpressionUUID->"cebc2651-eda9-4b65-a5bb-e31187d7f4a2"],
Cell[77271, 2399, 688, 13, 54, "Output",ExpressionUUID->"44cff0f6-459b-4067-88ef-ca659c6f04b1"]
}, Open ]],
Cell[CellGroupData[{
Cell[77996, 2417, 451, 13, 31, "Input",ExpressionUUID->"65c49f7c-d522-4f4d-bb91-9f53fcc1a3da"],
Cell[78450, 2432, 937, 22, 69, "Output",ExpressionUUID->"d361ee62-84f4-4659-91e3-ed46a5b5f9c8"]
}, Open ]],
Cell[CellGroupData[{
Cell[79424, 2459, 340, 10, 31, "Input",ExpressionUUID->"7579d4b9-0f5c-4bed-ab34-ed4d9d9b531e"],
Cell[79767, 2471, 832, 21, 65, "Output",ExpressionUUID->"8e296fc0-1486-4285-95ed-7a94d238e68b"]
}, Open ]],
Cell[CellGroupData[{
Cell[80636, 2497, 389, 11, 31, "Input",ExpressionUUID->"7f256a73-08f6-40e3-9a5c-c94a2e0475cf"],
Cell[81028, 2510, 785, 18, 65, "Output",ExpressionUUID->"6588de3b-b5c6-4f92-a926-4af03a15597d"]
}, Open ]],
Cell[CellGroupData[{
Cell[81850, 2533, 605, 17, 31, "Input",ExpressionUUID->"f3d2e96f-ee1a-4f9f-b6e3-8f392f72d560"],
Cell[82458, 2552, 1365, 38, 74, "Output",ExpressionUUID->"77770629-027b-4030-af2c-a7b2c6899de8"]
}, Open ]],
Cell[CellGroupData[{
Cell[83860, 2595, 567, 16, 31, "Input",ExpressionUUID->"9dc5cc37-dd83-48db-a580-94f54369afb6"],
Cell[84430, 2613, 1236, 34, 74, "Output",ExpressionUUID->"ee1f3a68-4bca-48c5-b33d-f51e6348e5f8"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[85715, 2653, 164, 3, 68, "Section",ExpressionUUID->"aafb3813-0cb6-4ab5-a6f9-97ba3e8f4763"],
Cell[85882, 2658, 685, 13, 81, "Text",ExpressionUUID->"cdf98ab6-099d-453b-ad90-b3e61ae2a44d"],
Cell[86570, 2673, 2101, 61, 216, "Input",ExpressionUUID->"314d6f1f-008f-4b40-a8cc-50c42aafb148"],
Cell[CellGroupData[{
Cell[88696, 2738, 313, 9, 31, "Input",ExpressionUUID->"ed0735d6-71bc-4313-870f-45029ca11a71"],
Cell[89012, 2749, 834, 18, 54, "Output",ExpressionUUID->"e298aaf8-8cb7-47ab-8626-3192bf678d87"]
}, Open ]],
Cell[CellGroupData[{
Cell[89883, 2772, 360, 10, 31, "Input",ExpressionUUID->"8237e31a-84bf-4d08-bb86-bf1da6368ac7"],
Cell[90246, 2784, 826, 18, 53, "Output",ExpressionUUID->"52ae676e-24df-481d-b155-e7acea24d4a9"]
}, Open ]],
Cell[CellGroupData[{
Cell[91109, 2807, 230, 6, 31, "Input",ExpressionUUID->"b1aa2631-7b89-4221-be1d-38a9e5222659"],
Cell[91342, 2815, 800, 17, 54, "Output",ExpressionUUID->"cac715c6-5101-497c-b32b-0543d85148fd"]
}, Open ]],
Cell[CellGroupData[{
Cell[92179, 2837, 451, 13, 31, "Input",ExpressionUUID->"f50b0e92-5981-4a9b-a9d0-be39b1479fbc"],
Cell[92633, 2852, 1099, 29, 69, "Output",ExpressionUUID->"093b1939-7f14-49f2-bf6d-afbe7da63986"]
}, Open ]],
Cell[CellGroupData[{
Cell[93769, 2886, 340, 10, 31, "Input",ExpressionUUID->"5bc85f17-3ef4-45c1-a210-e8649baa0e0b"],
Cell[94112, 2898, 1018, 27, 65, "Output",ExpressionUUID->"0a148dc7-7e6a-47e6-8203-a943fe97e74a"]
}, Open ]],
Cell[CellGroupData[{
Cell[95167, 2930, 389, 11, 31, "Input",ExpressionUUID->"f2d5d25d-dd6e-4dff-85ec-5bd77597682c"],
Cell[95559, 2943, 846, 19, 65, "Output",ExpressionUUID->"c2c6521a-d4d2-4692-94e7-f30fd041b83b"]
}, Open ]],
Cell[CellGroupData[{
Cell[96442, 2967, 605, 17, 31, "Input",ExpressionUUID->"1e7b81bf-1ecd-4667-ac62-a373c67d384c"],
Cell[97050, 2986, 1686, 48, 74, "Output",ExpressionUUID->"7cab65b5-43b3-454d-8dde-5ef465a97c9f"]
}, Open ]],
Cell[CellGroupData[{
Cell[98773, 3039, 567, 16, 31, "Input",ExpressionUUID->"ccd257ee-af41-4a1c-bd96-4f7f7e41053e"],
Cell[99343, 3057, 1533, 43, 74, "Output",ExpressionUUID->"b9fcc9d3-f0b8-44d2-91ca-b9b390bd70eb"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[100925, 3106, 306, 5, 68, "Section",ExpressionUUID->"97590afc-d184-4f30-932c-57440065e3f6"],
Cell[101234, 3113, 867, 15, 81, "Text",ExpressionUUID->"e12d2a27-abb1-4fcf-8e4d-90b3ab00b91d"],
Cell[102104, 3130, 2396, 61, 216, "Input",ExpressionUUID->"838d24ef-b290-44d0-9ffa-9919d33aa2d6"],
Cell[CellGroupData[{
Cell[104525, 3195, 313, 9, 31, "Input",ExpressionUUID->"2c4c0565-a3ad-4c45-b006-7a93a8fd4498"],
Cell[104841, 3206, 1055, 17, 35, "Output",ExpressionUUID->"f4b65def-6827-4198-b1d9-bd9c67024a0b"]
}, Open ]],
Cell[CellGroupData[{
Cell[105933, 3228, 360, 10, 31, "Input",ExpressionUUID->"a6fcb724-8b22-4320-90d9-0edeea3e678c"],
Cell[106296, 3240, 1051, 17, 35, "Output",ExpressionUUID->"bfc56d67-645f-4f73-8b4f-f69c253561b6"]
}, Open ]],
Cell[CellGroupData[{
Cell[107384, 3262, 230, 6, 31, "Input",ExpressionUUID->"681e5cef-a7e6-43cc-adc3-d0e6567b3fdc"],
Cell[107617, 3270, 1053, 17, 35, "Output",ExpressionUUID->"853f262f-d2a8-40f3-8510-2f7a45d06c32"]
}, Open ]],
Cell[CellGroupData[{
Cell[108707, 3292, 451, 13, 31, "Input",ExpressionUUID->"929fcc48-3f71-4e37-a10e-40d2f1419a9a"],
Cell[109161, 3307, 1130, 20, 54, "Output",ExpressionUUID->"b08bfcc8-048b-47cc-87b4-525d44690b1b"]
}, Open ]],
Cell[CellGroupData[{
Cell[110328, 3332, 340, 10, 31, "Input",ExpressionUUID->"47d6d82f-71cc-45e2-af64-93529a2e2f8a"],
Cell[110671, 3344, 1008, 17, 35, "Output",ExpressionUUID->"21f5a641-afcc-45c6-95ff-f0fbdd2d6957"]
}, Open ]],
Cell[CellGroupData[{
Cell[111716, 3366, 389, 11, 31, "Input",ExpressionUUID->"327f5281-8c71-4aa6-8a54-e4e6dde14da7"],
Cell[112108, 3379, 1033, 17, 35, "Output",ExpressionUUID->"e8d012c2-f6ac-4ed0-a59a-94e24596d9d5"]
}, Open ]],
Cell[CellGroupData[{
Cell[113178, 3401, 605, 17, 31, "Input",ExpressionUUID->"8d4bc054-fded-44a3-8868-9438320a2e54"],
Cell[113786, 3420, 1301, 27, 54, "Output",ExpressionUUID->"8b94e9a5-e3c3-438c-82f3-061c2ce1b079"]
}, Open ]],
Cell[CellGroupData[{
Cell[115124, 3452, 567, 16, 31, "Input",ExpressionUUID->"cbaad930-c149-4d69-99e7-34e8f4778f38"],
Cell[115694, 3470, 1152, 22, 53, "Output",ExpressionUUID->"e36c94b0-faa9-4f00-b186-3a0b15237c7b"]
}, Open ]],
Cell[116861, 3495, 251, 6, 31, "Input",ExpressionUUID->"8f84e3a4-6f03-4d17-a5c4-f0fd39e6678d"]
}, Open ]],
Cell[CellGroupData[{
Cell[117149, 3506, 257, 4, 68, "Section",ExpressionUUID->"ac984185-fef8-4436-9c08-992695fc7331"],
Cell[117409, 3512, 542, 12, 81, "Text",ExpressionUUID->"4a32801f-3692-41f2-86af-35f3d87a5758"],
Cell[117954, 3526, 2022, 60, 216, "Input",ExpressionUUID->"ceb98290-8408-406b-b2b9-a379733a935b"],
Cell[119979, 3588, 423, 9, 31, "Input",ExpressionUUID->"55e91b70-e5ea-488c-9cf4-40edbb4e3079"],
Cell[120405, 3599, 252, 6, 31, "Input",ExpressionUUID->"57e6c55a-9d0f-4e2f-b5de-b4e8ca0e3c84"],
Cell[CellGroupData[{
Cell[120682, 3609, 313, 9, 31, "Input",ExpressionUUID->"8ed8b71c-e50d-491a-b20f-48b7cb6cbbd0"],
Cell[120998, 3620, 1036, 21, 54, "Output",ExpressionUUID->"3ca17108-91f9-44a6-9665-4619a3f26b4b"]
}, Open ]],
Cell[CellGroupData[{
Cell[122071, 3646, 360, 10, 31, "Input",ExpressionUUID->"404e0323-8b9b-41f0-b68b-35212098780b"],
Cell[122434, 3658, 1033, 21, 51, "Output",ExpressionUUID->"811236c0-6f04-4878-a08e-35fa10fdb7ff"]
}, Open ]],
Cell[CellGroupData[{
Cell[123504, 3684, 230, 6, 31, "Input",ExpressionUUID->"deca0f50-b13b-45f4-a33a-c903fc511617"],
Cell[123737, 3692, 983, 19, 54, "Output",ExpressionUUID->"97b362d3-c320-4878-b025-837127c51dce"]
}, Open ]],
Cell[CellGroupData[{
Cell[124757, 3716, 451, 13, 31, "Input",ExpressionUUID->"dfebbe20-d4fa-4993-8f4f-1a551bb5e2b5"],
Cell[125211, 3731, 1309, 31, 69, "Output",ExpressionUUID->"f68ff1dc-ece1-49a4-a170-d6442bbd8da8"]
}, Open ]],
Cell[CellGroupData[{
Cell[126557, 3767, 340, 10, 31, "Input",ExpressionUUID->"5715938d-8fa0-46fb-806a-4ab250e1d778"],
Cell[126900, 3779, 1223, 30, 65, "Output",ExpressionUUID->"7a4530c9-df7a-4eeb-82fa-ce812da6aa5c"]
}, Open ]],
Cell[CellGroupData[{
Cell[128160, 3814, 389, 11, 31, "Input",ExpressionUUID->"777c5dca-92d7-45e9-9343-909d80c5029d"],
Cell[128552, 3827, 1049, 22, 65, "Output",ExpressionUUID->"2f0de595-d183-420d-86b1-24443c8fcbee"]
}, Open ]],
Cell[CellGroupData[{
Cell[129638, 3854, 605, 17, 31, "Input",ExpressionUUID->"5161dd52-4c3b-4daa-82ac-ea96c8d12dcd"],
Cell[130246, 3873, 1899, 51, 74, "Output",ExpressionUUID->"878ce7e5-7ac9-4c93-8d9b-23b7f2206b16"]
}, Open ]],
Cell[CellGroupData[{
Cell[132182, 3929, 567, 16, 31, "Input",ExpressionUUID->"d57d6662-678d-42a0-a3c0-5327b2186fc7"],
Cell[132752, 3947, 1742, 47, 74, "Output",ExpressionUUID->"e7ae6f16-62db-4667-8b15-68d9ad250db6"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[134543, 4000, 315, 5, 68, "Section",ExpressionUUID->"f859ac83-644f-4b81-a821-0b9682abde7e"],
Cell[134861, 4007, 688, 13, 81, "Text",ExpressionUUID->"2f54b34f-126f-4702-8352-244c1e12207e"],
Cell[135552, 4022, 2150, 62, 216, "Input",ExpressionUUID->"28ce6560-812c-4cb6-8bb3-89d7ae2d80a7"],
Cell[CellGroupData[{
Cell[137727, 4088, 313, 9, 31, "Input",ExpressionUUID->"44528d24-16d6-4a09-b851-ce712ae37d20"],
Cell[138043, 4099, 1159, 23, 54, "Output",ExpressionUUID->"6d0f0826-17d8-44be-a5a9-56890a382f54"]
}, Open ]],
Cell[CellGroupData[{
Cell[139239, 4127, 360, 10, 31, "Input",ExpressionUUID->"b16a3ad6-fbd9-478e-8fbd-5b3d75852aca"],
Cell[139602, 4139, 1156, 23, 53, "Output",ExpressionUUID->"51c8c59e-132e-4acb-8b06-a8b7c48c7fcb"]
}, Open ]],
Cell[CellGroupData[{
Cell[140795, 4167, 230, 6, 31, "Input",ExpressionUUID->"554bc9a9-1238-4c1e-b16e-62c86191dff6"],
Cell[141028, 4175, 1127, 22, 54, "Output",ExpressionUUID->"560c432b-19fa-4cfc-a629-ba7e7a2eec2d"]
}, Open ]],
Cell[CellGroupData[{
Cell[142192, 4202, 451, 13, 31, "Input",ExpressionUUID->"301baead-efb2-40f6-b8b2-669f7f91d716"],
Cell[142646, 4217, 1432, 33, 69, "Output",ExpressionUUID->"e6f11db5-8e61-4c21-9d70-bc96adee7a6e"]
}, Open ]],
Cell[CellGroupData[{
Cell[144115, 4255, 340, 10, 31, "Input",ExpressionUUID->"c98cfe05-b327-4aff-9147-c7234e02870f"],
Cell[144458, 4267, 1320, 31, 65, "Output",ExpressionUUID->"377a3078-7f0e-49a9-be5f-e1c469e20a7b"]
}, Open ]],
Cell[CellGroupData[{
Cell[145815, 4303, 389, 11, 31, "Input",ExpressionUUID->"de9a9a32-44f4-4f67-90f5-903e35e2ab49"],
Cell[146207, 4316, 1157, 23, 65, "Output",ExpressionUUID->"834dcfe9-def1-4c64-a5d7-6e3ef09fe1d6"]
}, Open ]],
Cell[CellGroupData[{
Cell[147401, 4344, 605, 17, 31, "Input",ExpressionUUID->"b47a8431-3c6f-4603-a44d-170db6058ad9"],
Cell[148009, 4363, 2006, 53, 74, "Output",ExpressionUUID->"7bcca86b-06c5-4226-95ed-7485c700b5ff"]
}, Open ]],
Cell[CellGroupData[{
Cell[150052, 4421, 567, 16, 31, "Input",ExpressionUUID->"da7d2487-3bb7-4f46-be1b-ef795f0d9104"],
Cell[150622, 4439, 1850, 48, 74, "Output",ExpressionUUID->"3677a523-d3a9-4e28-b353-689e21ba418e"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[152521, 4493, 258, 4, 68, "Section",ExpressionUUID->"b0ff6476-7a19-490b-a907-29916da7308b"],
Cell[152782, 4499, 712, 14, 81, "Text",ExpressionUUID->"5608a258-6cc1-4bc7-9bd8-224efb9db7b6"],
Cell[153497, 4515, 2100, 61, 216, "Input",ExpressionUUID->"9f9cdaa6-b6a3-4daa-aa80-4363727dbe37"],
Cell[CellGroupData[{
Cell[155622, 4580, 313, 9, 31, "Input",ExpressionUUID->"5f0feb90-6090-4ea7-88f2-86985f5ac9bf"],
Cell[155938, 4591, 1020, 18, 54, "Output",ExpressionUUID->"5602508a-8c62-42b5-940e-e131ca2d34b1"]
}, Open ]],
Cell[CellGroupData[{
Cell[156995, 4614, 360, 10, 31, "Input",ExpressionUUID->"88313117-19fd-42a1-928d-8f65a33e9c49"],
Cell[157358, 4626, 1015, 18, 51, "Output",ExpressionUUID->"887ed581-4f1b-4b64-b352-fa2111f61c7e"]
}, Open ]],
Cell[CellGroupData[{
Cell[158410, 4649, 230, 6, 31, "Input",ExpressionUUID->"9c725040-07ba-435b-8fad-a6920f6d05b1"],
Cell[158643, 4657, 1019, 18, 54, "Output",ExpressionUUID->"c127161b-f06a-4789-9cbc-a54c0636f117"]
}, Open ]],
Cell[CellGroupData[{
Cell[159699, 4680, 451, 13, 31, "Input",ExpressionUUID->"a1bcb444-b8c5-4430-91ce-ea4d7cbf00c3"],
Cell[160153, 4695, 1174, 23, 65, "Output",ExpressionUUID->"3bf4c40e-9739-4185-9874-577b4c9a3194"]
}, Open ]],
Cell[CellGroupData[{
Cell[161364, 4723, 340, 10, 31, "Input",ExpressionUUID->"46ddcbdf-1184-4278-99fb-4221dacda068"],
Cell[161707, 4735, 1074, 21, 65, "Output",ExpressionUUID->"c5add82a-7762-45fa-a1fd-364acf53dca0"]
}, Open ]],
Cell[CellGroupData[{
Cell[162818, 4761, 389, 11, 31, "Input",ExpressionUUID->"0fa4194a-4d79-4d0d-ad15-2916c929e64e"],
Cell[163210, 4774, 1117, 22, 65, "Output",ExpressionUUID->"06a47c91-cfb8-4230-b01b-7473edd00705"]
}, Open ]],
Cell[CellGroupData[{
Cell[164364, 4801, 605, 17, 31, "Input",ExpressionUUID->"5c41248b-fc0d-41a7-8cf8-416e1c29d2e0"],
Cell[164972, 4820, 1487, 36, 74, "Output",ExpressionUUID->"d7dda106-be2f-4823-a0a9-cf7e37a625e2"]
}, Open ]],
Cell[CellGroupData[{
Cell[166496, 4861, 567, 16, 31, "Input",ExpressionUUID->"3e4f0e64-15d8-4f99-b350-b3d9bf778c1c"],
Cell[167066, 4879, 1420, 33, 74, "Output",ExpressionUUID->"a77f064e-d51b-4338-8335-fe0bc1358772"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[168535, 4918, 165, 3, 68, "Section",ExpressionUUID->"04834317-d512-4254-b60a-890ea8645cbc"],
Cell[168703, 4923, 727, 14, 81, "Text",ExpressionUUID->"2eed4eae-fd01-4445-a34c-c6881e432fdb"],
Cell[169433, 4939, 2150, 62, 216, "Input",ExpressionUUID->"63a29a0c-d8dc-4fd8-88da-42189d736723"],
Cell[CellGroupData[{
Cell[171608, 5005, 313, 9, 31, "Input",ExpressionUUID->"1443f522-3fde-445d-a96a-d090e3c1b4f2"],
Cell[171924, 5016, 1018, 18, 54, "Output",ExpressionUUID->"b0cd8eb6-d62e-40fd-9588-15d34f5748be"]
}, Open ]],
Cell[CellGroupData[{
Cell[172979, 5039, 360, 10, 31, "Input",ExpressionUUID->"91401c34-d7b6-4518-b4af-b36878409e6d"],
Cell[173342, 5051, 1015, 18, 51, "Output",ExpressionUUID->"cd4d076c-a7ec-439a-a465-8921bd9deb1e"]
}, Open ]],
Cell[CellGroupData[{
Cell[174394, 5074, 230, 6, 31, "Input",ExpressionUUID->"e0449b86-11d7-435b-8a84-4229cf744cff"],
Cell[174627, 5082, 995, 17, 35, "Output",ExpressionUUID->"278773bf-d49c-435b-b3e1-3cc1658e9696"]
}, Open ]],
Cell[CellGroupData[{
Cell[175659, 5104, 451, 13, 31, "Input",ExpressionUUID->"0e63fab5-a2a1-4e32-b1db-7694c040e999"],
Cell[176113, 5119, 1130, 21, 68, "Output",ExpressionUUID->"9d99a644-44be-4992-96a2-1d1370e4622c"]
}, Open ]],
Cell[CellGroupData[{
Cell[177280, 5145, 340, 10, 31, "Input",ExpressionUUID->"ba6e8cf9-b4b9-444d-abd4-bcafadb813f4"],
Cell[177623, 5157, 974, 17, 54, "Output",ExpressionUUID->"7711770a-b757-4a68-8176-7d89ce60d93e"]
}, Open ]],
Cell[CellGroupData[{
Cell[178634, 5179, 389, 11, 31, "Input",ExpressionUUID->"90aa16be-267c-4906-9448-13e198e3de4c"],
Cell[179026, 5192, 975, 16, 35, "Output",ExpressionUUID->"5160f960-fd74-459d-aeb8-3ed8a7be9a07"]
}, Open ]],
Cell[CellGroupData[{
Cell[180038, 5213, 605, 17, 31, "Input",ExpressionUUID->"a60e28ce-12a9-4815-b2e5-3e428f9f3127"],
Cell[180646, 5232, 1435, 34, 80, "Output",ExpressionUUID->"846f0f62-d94b-4c52-9bb3-8189bc9faae0"]
}, Open ]],
Cell[CellGroupData[{
Cell[182118, 5271, 567, 16, 31, "Input",ExpressionUUID->"c964dae9-6e8c-47e7-8ad1-77ef444201d4"],
Cell[182688, 5289, 1274, 28, 65, "Output",ExpressionUUID->"0e7bce03-3b91-4202-9a94-1822a1de36f4"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[184011, 5323, 163, 3, 68, "Section",ExpressionUUID->"14c654fe-bb34-42df-a606-ad99fb2a457e"],
Cell[184177, 5328, 727, 14, 81, "Text",ExpressionUUID->"2fb9c6c7-6a3f-46d8-a05b-3b70330f4d75"],
Cell[184907, 5344, 2470, 66, 216, "Input",ExpressionUUID->"a42a2126-3a87-45e5-8b96-a5bd8fe5797f"],
Cell[CellGroupData[{
Cell[187402, 5414, 313, 9, 28, "Input",ExpressionUUID->"88dd5ca6-8bad-4b13-bd4e-0d7c49c247d2"],
Cell[187718, 5425, 1141, 19, 28, "Output",ExpressionUUID->"e5cfdd1d-ac64-4a69-833a-5b72e739085c"]
}, Open ]],
Cell[CellGroupData[{
Cell[188896, 5449, 360, 10, 28, "Input",ExpressionUUID->"dd3f5595-e919-43ec-ba85-b89cd2ca7f54"],
Cell[189259, 5461, 1137, 19, 28, "Output",ExpressionUUID->"3c75ff84-5b02-4c82-a4d5-443c9d0e5425"]
}, Open ]],
Cell[CellGroupData[{
Cell[190433, 5485, 230, 6, 28, "Input",ExpressionUUID->"87772eed-8e6f-4e2a-8bd6-ba821f3bde56"],
Cell[190666, 5493, 1109, 18, 28, "Output",ExpressionUUID->"faebe943-2afa-4a1e-8f05-9b196fa28003"]
}, Open ]],
Cell[CellGroupData[{
Cell[191812, 5516, 451, 13, 28, "Input",ExpressionUUID->"9d92fb5b-6c14-403c-a85c-6051a685644a"],
Cell[192266, 5531, 1313, 26, 48, "Output",ExpressionUUID->"dd4bfe9f-68f3-44b1-bdbf-a001289b8843"]
}, Open ]],
Cell[CellGroupData[{
Cell[193616, 5562, 340, 10, 28, "Input",ExpressionUUID->"51f90f0d-00ff-4c17-b308-ec5a8d1810e1"],
Cell[193959, 5574, 546, 11, 28, "Output",ExpressionUUID->"1b71036b-54ec-4c98-b893-585fa7e84292"]
}, Open ]],
Cell[CellGroupData[{
Cell[194542, 5590, 389, 11, 28, "Input",ExpressionUUID->"3dabda23-e17b-4547-b636-5afe9c479f09"],
Cell[194934, 5603, 1095, 18, 28, "Output",ExpressionUUID->"5f50b6fc-9f7e-4917-9540-fc50ba2427a7"]
}, Open ]],
Cell[CellGroupData[{
Cell[196066, 5626, 605, 17, 28, "Input",ExpressionUUID->"41f79e70-be4d-4879-b3ff-437bfd0def4c"],
Cell[196674, 5645, 1682, 40, 55, "Output",ExpressionUUID->"db7fa1ff-90f3-4d09-8ef0-ed2ca2e63d8f"]
}, Open ]],
Cell[CellGroupData[{
Cell[198393, 5690, 567, 16, 28, "Input",ExpressionUUID->"36480fb7-cbae-4ad5-ac2c-c63017f21bdb"],
Cell[198963, 5708, 1207, 23, 47, "Output",ExpressionUUID->"01dd8bd5-1362-4689-8b3b-6131ed7d98d2"]
}, Open ]]
}, Open ]],
Cell[CellGroupData[{
Cell[200219, 5737, 157, 3, 64, "Section",ExpressionUUID->"83b1ee26-2941-4d3b-8e2a-0a843cfb97ad"],
Cell[200379, 5742, 1035, 20, 80, "Input",ExpressionUUID->"c9652c80-8038-45eb-9777-2ce911f175ae"],
Cell[201417, 5764, 989, 20, 28, "Input",ExpressionUUID->"165cebd0-82d8-4630-8ef7-9ccdf3f04066"],
Cell[CellGroupData[{
Cell[202431, 5788, 2922, 59, 63, "Input",ExpressionUUID->"4fbd26a5-cffd-4522-aa35-7405d2c994e7"],
Cell[205356, 5849, 596, 12, 42, "Message",ExpressionUUID->"98e06d8a-fad1-4ffd-9962-ce15ebbbe766"],
Cell[205955, 5863, 2729, 58, 80, "Output",ExpressionUUID->"76ca18e0-4631-41b4-9c4c-45e3a8383925"]
}, Open ]],
Cell[208699, 5924, 186, 4, 28, "Input",ExpressionUUID->"6ad46c76-92f5-4889-b63a-a4e6dcf3a1e7"],
Cell[CellGroupData[{
Cell[208910, 5932, 533, 12, 28, "Input",ExpressionUUID->"bdc8b7a5-732e-474c-9be3-746b702c4ed4"],
Cell[209446, 5946, 950, 17, 41, "Message",ExpressionUUID->"862d036c-c55a-4872-9365-645fcc6699d4"],
Cell[210399, 5965, 675, 15, 28, "Output",ExpressionUUID->"c55d4419-006e-4492-bb7b-b436ac80822b"]
}, Open ]],
Cell[211089, 5983, 185, 4, 28, "Input",ExpressionUUID->"41afbeda-ba78-4cd0-b52d-620d6e39de6a"],
Cell[CellGroupData[{
Cell[211299, 5991, 193, 4, 28, "Input",ExpressionUUID->"8e5dd3db-77b1-4428-8d6a-4d20a3958166"],
Cell[211495, 5997, 156, 3, 28, "Output",ExpressionUUID->"c55d4d0a-e929-442d-93e4-7237c273a39b"]
}, Open ]],
Cell[211666, 6003, 219, 5, 28, "Input",ExpressionUUID->"b011c37c-5ad7-4dbf-8537-83e031f6580a"],
Cell[CellGroupData[{
Cell[211910, 6012, 458, 12, 59, "Input",ExpressionUUID->"6fc44a8c-b402-4252-9a1e-659ff3c4720f"],
Cell[212371, 6026, 322, 6, 28, "Output",ExpressionUUID->"4fe6c3a9-8210-49f2-bc97-ccedf9c451b8"]
}, Open ]],
Cell[212708, 6035, 3243, 103, 165, "Input",ExpressionUUID->"643f60bc-efa9-4a27-bf13-4dc46a3211f9"],
Cell[215954, 6140, 1204, 35, 114, "Input",ExpressionUUID->"d6324945-47ca-4a4a-87bf-60df54a46b0e"],
Cell[CellGroupData[{
Cell[217183, 6179, 650, 16, 63, "Input",ExpressionUUID->"b43bcc4c-3cba-4807-b65b-acc648032f66"],
Cell[217836, 6197, 922, 24, 63, "Output",ExpressionUUID->"ae8989b5-8ba4-4ed8-a62f-6c5ab3d57d5d"],
Cell[218761, 6223, 1050, 23, 63, "Output",ExpressionUUID->"3f70b872-5261-496d-aa9b-f5b9e2bfc9c2"],
Cell[219814, 6248, 1053, 23, 63, "Output",ExpressionUUID->"fcde34e3-5402-4ddd-bbf7-7886a47416ae"]
}, Open ]],
Cell[CellGroupData[{
Cell[220904, 6276, 250, 7, 35, "Input",ExpressionUUID->"63c58a38-3344-4db0-8a13-cd19a2934909"],
Cell[221157, 6285, 174, 4, 28, "Output",ExpressionUUID->"01aa3777-80b6-440a-b3f8-c6ae64edd148"]
}, Open ]]
}, Open ]]
}
]
*)
|
;Здесь уже свободный стиль, это всё таки пример демонстрация,
;приветствуются подробные комментарии на русском и английском
;языках и демонстрация тестов на устойчивость функции и её
;возможностей. А также можно измерять производительность.
|
import pprint
import plugins
plugins.PluginsThroughFilesystem.autoload()
print('After load')
pprint.pprint(plugins.PluginsThroughFilesystem.plugins)
|
%% -*- mode: erlang; tab-width: 4; indent-tabs-mode: 1; st-rulers: [70] -*-
%% vim: ts=4 sw=4 ft=erlang noet
-module(jose_jwe_alg_aes_kw_props).
-include_lib("proper/include/proper.hrl").
% -compile(export_all).
base64url_binary() ->
?LET(Binary,
binary(),
jose_jwa_base64url:encode(Binary)).
binary_map() ->
?LET(List,
list({base64url_binary(), base64url_binary()}),
maps:from_list(List)).
key_size() -> oneof([128, 192, 256]).
key_gen() ->
?LET(KeySize,
key_size(),
{KeySize, binary(KeySize div 8)}).
alg_map(128) ->
oneof([
#{ <<"alg">> => <<"A128KW">> },
#{ <<"alg">> => <<"A128GCMKW">> }
]);
alg_map(192) ->
oneof([
#{ <<"alg">> => <<"A192KW">> },
#{ <<"alg">> => <<"A192GCMKW">> }
]);
alg_map(256) ->
oneof([
#{ <<"alg">> => <<"A256KW">> },
#{ <<"alg">> => <<"A256GCMKW">> }
]).
aes_gcm_map(#{ <<"alg">> := << "A", _, _, _, "GCMKW" >> }) ->
oneof([
#{},
#{ <<"iv">> => jose_jwa_base64url:encode(crypto:strong_rand_bytes(12)), <<"tag">> => jose_jwa_base64url:encode(crypto:strong_rand_bytes(8)) }
]);
aes_gcm_map(_) ->
#{}.
jwk_jwe_maps() ->
?LET({KeySize, Key, ALGMap},
?LET({KeySize, Key},
key_gen(),
{KeySize, Key, alg_map(KeySize)}),
begin
ENC = list_to_binary("A" ++ integer_to_list(KeySize) ++ "GCM"),
JWKMap = #{
<<"kty">> => <<"oct">>,
<<"k">> => jose_jwa_base64url:encode(Key)
},
JWEMap = maps:merge(#{ <<"enc">> => ENC }, ALGMap),
{Key, JWKMap, JWEMap}
end).
jwk_jwe_gen() ->
?LET({Key, JWKMap, JWEMap},
jwk_jwe_maps(),
{Key, jose_jwk:from_map(JWKMap), jose_jwe:from_map(JWEMap)}).
prop_from_map_and_to_map() ->
?FORALL(JWEMap,
?LET({JWEMap, GCMMap, Extras},
?LET({_Key, _JWKMap, JWEMap},
jwk_jwe_maps(),
{JWEMap, aes_gcm_map(JWEMap), binary_map()}),
maps:merge(maps:merge(Extras, GCMMap), JWEMap)),
begin
JWE = jose_jwe:from_map(JWEMap),
JWEMap =:= element(2, jose_jwe:to_map(JWE))
end).
prop_key_encrypt_and_key_decrypt() ->
?FORALL({_Key, JWK, JWE},
?LET({Key, JWK, JWE},
jwk_jwe_gen(),
{Key, oneof([Key, JWK]), JWE}),
begin
{DecKey, DecJWE} = jose_jwe:next_cek(JWK, JWE),
{EncKey, EncJWE} = jose_jwe:key_encrypt(JWK, DecKey, DecJWE),
DecKey =:= jose_jwe:key_decrypt(JWK, EncKey, EncJWE)
end).
|
:BEGINNING
@ECHO OFF
:SCRIPT_SETTINGS
SET wsl_os=UBUNTU
SET wsl_user=root
SET wsl_dir=%~dp0
@REM SET wsl_dir=%CD%
:SETTINGS_PRINT
CD /D "%wsl_dir%"
ECHO Starting dir: %wsl_dir%
:WSL_INFO
@REM WSL --list --running
WSL --terminate %wsl_os%
:WSL_START
@REM WSL.EXE --distribution %wsl_os% --user %wsl_user%
%wsl_os%.EXE run
@REM "C:\Windows\System32\bash.exe" ~ -c "/bin/login -p -f %wsl_user%"
:END
ECHO ----------------------------------------
ECHO Goodbye!
EXIT %ERRORLEVEL%
|
<?php
namespace DMS\Filter\Rules;
use Tests;
class AlnumTest extends Tests\Testcase
{
public function setUp()
{
parent::setUp();
}
public function tearDown()
{
parent::tearDown();
}
/**
* @dataProvider provideForRule
*/
public function testRule($options, $value, $expectedResult, $unicodeSetting = null)
{
$rule = new Alnum($options);
if ($unicodeSetting !== null) {
$property = new \ReflectionProperty($rule, 'unicodeEnabled');
$property->setAccessible(true);
$property->setValue($rule, $unicodeSetting);
}
$result = $rule->applyFilter($value);
$this->assertEquals($expectedResult, $result);
}
public function provideForRule()
{
return array(
array(false, "My Text", "MyText", true),
array(false, "My Text", "MyText", false),
array(true, "My Text", "My Text", true),
array(true, "My Text", "My Text", false),
array(true, "My Text!", "My Text", true),
array(true, "My Text!", "My Text", false),
array(true, "My Text21!", "My Text21", true),
array(true, "My Text21!", "My Text21", false),
array(true, "João Sorrisão", "João Sorrisão", true),
array(true, "João Sorrisão", "Joo Sorriso", false),
array(true, "Helgi Þormar Þorbjörnsson", "Helgi Þormar Þorbjörnsson", true),
array(true, "Helgi Þormar Þorbjörnsson", "Helgi ormar orbjrnsson", false),
array(true, "Helgi Þormar!@#$&*( )(*&%$#@Þorbjörnsson", "Helgi Þormar Þorbjörnsson", true),
array(true, "Helgi Þormar!@#$&*( )(*&%$#@Þorbjörnsson", "Helgi ormar orbjrnsson", false),
);
}
} |
int main() {
// lvalue appears on LHS
int a = 0;
// address of lvalue can be stored in pointer
int* a_ptr = &a;
// lvalue can bind to lvalue references
int& a_ref = a;
// e.g. of lvalues
a;
}
|
Class {
#name : #CGOSolverTest,
#superclass : #CGOTest,
#category : #'CargoPackageManager-FailingTests-Solver'
}
{ #category : #helpers }
CGOSolverTest >> defaultSourcePackageVersion [
^ CGOMonticelloHostedPackageVersion
repositoryUrl: 'http://smalltalkhub.com/mc/Foo/Bar/main'
packageName: 'no-file-specified'
versionString: 'JohnDoe.0'
]
{ #category : #helpers }
CGOSolverTest >> noDependenciesPackage [
^ CGOPackageVersion newFrom:
( Dictionary new
add: #package -> #'NoDependencies';
add: #version -> '17';
add: #dependencies -> #();
add: #provisions -> #();
add: #description -> 'no dependencies';
add: #sourcePackageVersion -> self defaultSourcePackageVersion;
add: #platformRequirements -> #();
add: #timestamp -> DateAndTime now;
yourself )
]
{ #category : #helpers }
CGOSolverTest >> noDependenciesPackageBiggerVersion [
^ CGOPackageVersion newFrom:
( Dictionary new
add: #package -> #'NoDependencies';
add: #version -> '18';
add: #dependencies -> #();
add: #provisions -> #();
add: #description -> 'no dependencies';
add: #sourcePackageVersion -> self defaultSourcePackageVersion;
add: #platformRequirements -> #();
add: #timestamp -> DateAndTime now;
yourself )
]
{ #category : #helpers }
CGOSolverTest >> oneDependencyPackage [
^ CGOPackageVersion newFrom:
( Dictionary new
add: #package -> #'OneDependency';
add: #version -> '1.0';
add: #dependencies -> { #'NoDependencies' -> #('=17') };
add: #provisions -> #();
add: #description -> 'no dependencies';
add: #sourcePackageVersion -> self defaultSourcePackageVersion;
add: #platformRequirements -> #();
add: #timestamp -> DateAndTime now;
yourself )
]
{ #category : #helpers }
CGOSolverTest >> oneDependencyPackageBiggerVersion [
^ CGOPackageVersion newFrom:
( Dictionary new
add: #package -> #'OneDependency';
add: #version -> '1.0';
add: #dependencies -> { #'NoDependencies' -> #('=18') };
add: #provisions -> #();
add: #description -> 'no dependencies';
add: #sourcePackageVersion -> self defaultSourcePackageVersion;
add: #platformRequirements -> #();
add: #timestamp -> DateAndTime now;
yourself )
]
{ #category : #helpers }
CGOSolverTest >> packageWithManyDependencies [
^ CGOPackageVersion newFrom:
( Dictionary new
add: #package -> #'ManyDependencies';
add: #version -> '1.0';
add: #dependencies -> { #'OneDependency' -> #('=1.0.0') . #'NoDependencies' -> #('=17') };
add: #provisions -> #();
add: #description -> 'no dependencies';
add: #sourcePackageVersion -> self defaultSourcePackageVersion;
add: #platformRequirements -> #();
add: #timestamp -> DateAndTime now;
yourself )
]
{ #category : #tests }
CGOSolverTest >> testResolutionOfConflictShouldFail [
| solver repository |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
repository savePackageVersion: self noDependenciesPackage.
repository savePackageVersion: self noDependenciesPackageBiggerVersion.
repository savePackageVersion: self oneDependencyPackageBiggerVersion.
repository savePackageVersion: self packageWithManyDependencies.
solver := PBSolver new.
solver repositories: { repository }.
self should: [solver solvePackageNamed: #'ManyDependencies' version: '1.0'] raise: CGODependencyConflictError
]
{ #category : #tests }
CGOSolverTest >> testResolutionOfPackageWithManyDependenciesShouldShieldManyLoadInstructions [
| solver resolution repository instructions |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
repository savePackageVersion: self noDependenciesPackage.
repository savePackageVersion: self oneDependencyPackage.
repository savePackageVersion: self packageWithManyDependencies.
solver := PBSolver new.
solver repositories: { repository }.
resolution := solver solvePackageNamed: 'ManyDependencies' version: '1.0'.
instructions := resolution loadInstructions groups.
self assert: instructions size equals: 3.
self assert: instructions first packageVersions size equals: 1.
self assert: instructions first packageVersions first equals: self noDependenciesPackage.
self assert: instructions second packageVersions size equals: 1.
self assert: instructions second packageVersions first equals: self oneDependencyPackage.
self assert: instructions third packageVersions size equals: 1.
self assert: instructions third packageVersions first equals: self packageWithManyDependencies.
]
{ #category : #tests }
CGOSolverTest >> testResolutionOfPackageWithManyDependenciesShouldShieldNotEmptyResolution [
| solver resolution repository |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
repository savePackageVersion: self noDependenciesPackage.
repository savePackageVersion: self oneDependencyPackage.
repository savePackageVersion: self packageWithManyDependencies.
solver := PBSolver new.
solver repositories: { repository }.
resolution := solver solvePackageNamed: 'ManyDependencies' version: '1.0'.
self deny: resolution isEmpty.
]
{ #category : #tests }
CGOSolverTest >> testResolutionOfPackageWithNoDependenciesShouldShieldLoadInstructionsWithSingleInstruction [
| solver resolution repository instructions |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
repository savePackageVersion: self noDependenciesPackage.
solver := PBSolver new.
solver repositories: { repository }.
resolution := solver solvePackageNamed: #'NoDependencies' version: '17'.
instructions := resolution loadInstructions groups.
self assert: instructions size equals: 1.
self assert: instructions first packageVersions size equals: 1.
self assert: instructions first packageVersions first equals: self noDependenciesPackage.
]
{ #category : #tests }
CGOSolverTest >> testResolutionOfPackageWithNoDependenciesShouldShieldNotEmptyResolution [
| solver resolution repository |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
repository savePackageVersion: self noDependenciesPackage.
solver := PBSolver new.
solver repositories: { repository }.
resolution := solver solvePackageNamed: #'NoDependencies' version: '17'.
self deny: resolution isEmpty.
]
{ #category : #tests }
CGOSolverTest >> testResolutionOfPackageWithOneDependencyShouldShieldLoadInstructionsWithTwoInstructions [
| solver resolution repository instructions |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
repository savePackageVersion: self noDependenciesPackage.
repository savePackageVersion: self oneDependencyPackage.
solver := PBSolver new.
solver repositories: { repository }.
resolution := solver solvePackageNamed: #'OneDependency' version: '1'.
instructions := resolution loadInstructions groups.
self assert: instructions size equals: 2.
self assert: instructions first packageVersions size equals: 1.
self assert: instructions first packageVersions first equals: self noDependenciesPackage.
self assert: instructions second packageVersions size equals: 1.
self assert: instructions second packageVersions first equals: self oneDependencyPackage.
]
{ #category : #tests }
CGOSolverTest >> testResolutionOfPackageWithOneDependencyShouldShieldNotEmptyResolution [
| solver resolution repository |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
repository savePackageVersion: self noDependenciesPackage.
repository savePackageVersion: self oneDependencyPackage.
solver := PBSolver new.
solver repositories: { repository }.
resolution := solver solvePackageNamed: #'OneDependency' version: '1'.
self deny: resolution isEmpty.
]
{ #category : #tests }
CGOSolverTest >> testResolutionOfUnexistentPackageVersionShouldFail [
| solver |
solver := PBSolver new.
self should: [ solver solvePackageNamed: #'Unexistent' version: '1.0' ] raise: PBPackageNotFoundError
]
{ #category : #tests }
CGOSolverTest >> testShouldGetDependencyConflictErrorWhenAskingToInstallAPackageAlreadyInstalledInADifferentVersion [
| solver repository installedPackage |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
installedPackage := self noDependenciesPackage
instVarNamed: 'version' put: '19' asSemanticVersion;
yourself.
repository savePackageVersion: installedPackage.
solver := PBSolver new.
solver
repositories: { repository };
installedPackages: { installedPackage }.
self
should: [ solver solvePackageNamed: #'NoDependencies' version: '17' ]
raise: CGODependencyConflictError
]
{ #category : #tests }
CGOSolverTest >> testShouldGetEmptyLoadInstructionsWhenAskingToInstallAPackageAlreadyInstalled [
| solver resolution repository instructions |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
repository savePackageVersion: self noDependenciesPackage.
solver := PBSolver new.
solver
repositories: { repository };
installedPackages: { self noDependenciesPackage }.
resolution := solver solvePackageNamed: #'NoDependencies' version: '17'.
instructions := resolution loadInstructions groups.
self assert: instructions size equals: 0.
]
{ #category : #tests }
CGOSolverTest >> testShouldNotGetAlreadyInstalledPackagesInLoadInstructionsWhenResolutionInvolvesManyPackages [
| solver resolution repository instructions |
repository := CGODirectoryPackageRepository newInDirectory: FileSystem memory root.
repository savePackageVersion: self noDependenciesPackage.
repository savePackageVersion: self oneDependencyPackage.
repository savePackageVersion: self packageWithManyDependencies.
solver := PBSolver new.
solver
repositories: { repository };
installedPackages: { self noDependenciesPackage }.
resolution := solver solvePackageNamed: 'ManyDependencies' version: '1.0'.
instructions := resolution loadInstructions groups.
self assert: instructions size equals: 2.
self assert: instructions first packageVersions size equals: 1.
self assert: instructions first packageVersions first equals: self oneDependencyPackage.
self assert: instructions second packageVersions size equals: 1.
self assert: instructions second packageVersions first equals: self packageWithManyDependencies.
]
|
Laboratorul 11
==============
Introducere
-----------
In acest laborator vom exersa manipularea listelor si tipurilor de date
prin implementarea catorva colectii de tip tabela asociativa cheie-valoare.
Aceste colectii vor trebui sa aiba urmatoarele facilitati
* crearea unei colectii vide
* crearea unei colectii cu un element
* adaugarea/actualizarea unui element intr-o colectie
* cautarea unui element intr-o colectie
* stergerea (marcarea ca sters a) unui element dintr-o colectie
* obtinerea listei cheilor
* obtinerea listei valorilor
* obtinerea listei elementelor
> import Prelude hiding (lookup)
> import qualified Data.List as List
Clasa Collection
----------------
> class Collection c where
> empty :: c key value
> singleton :: key -> value -> c key value
> insert
> :: Ord key
> => key -> value -> c key value -> c key value
> lookup :: Ord key => key -> c key value -> Maybe value
> delete :: Ord key => key -> c key value -> c key value
> keys :: c key value -> [key]
> values :: c key value -> [value]
> toList :: c key value -> [(key, value)]
> fromList :: Ord key => [(key,value)] -> c key value
Exercitiul 0
------------
Adaugati definitii implicite (in functie de functiile celelalte) pentru
a. `keys`
b. `values`
c. `fromList`
Exercitiul 1
------------
Fie tipul listelor de perechi de forma cheie-valoare:
> newtype PairList k v
> = PairList { getPairList :: [(k, v)] }
Faceti `PairList` instanta a clasei `Collection`.
Exercitiul 2
------------
Fie tipul arborilor binari de cautare (ne-echilibrati):
> data SearchTree key value
> = Empty
> | Node
> (SearchTree key value) -- elemente cu cheia mai mica
> key -- cheia elementului
> (Maybe value) -- valoarea elementului
> (SearchTree key value) -- elemente cu cheia mai mare
Observati ca tipul valorilor este `Maybe value`.
Acest lucru se face pentru a reduce timpul operatiei de stergere prin simpla
marcare a unui nod ca fiind sters. Un nod sters va avea valoarea `Nothing`.
Faceti `SearchTree` instanta a clasei `Collection`.
B-Arbori
========
B-arbori: Introducere
---------------------
B-arborii sunt o generalizare a abrorilor (echilibrati) de cautare in care
un nod poate contine mai multe elemente, si intre oricare doua elemente se
gaseste un subarbore care contine elemente cu cheile intre elementele intre
care se afla subarborele.
```
(k1,v1) (k2, v2) (k3,v3) ... (kn,vn)
/ | | \
mai mici intre k1 intre k2 mai mari
decat k1 si k2 si k3 decat kn
```
Dat fiind un parametru `d`, un B-arbore
de ordin `2*d+1` are urmatoarele proprietati:
* Este echilibrat: toate frunzele se afla la aceeasi adancime
* Orice nod are cel mult `2*d` elemente (si `2*d+1` subarbori)
* Orice nod in afara de radacina are cel putin `d` elemente
> order = 1
B-arbori in Haskell: Design
---------------------------
In continuarea acestui laborator vom incerca sa implementam o versiune de
B-arbori in Haskell.
Pentru a reprezenta un nod, am putea sa separam elementele de subarbori, dar
este mult mai convenabil sa le imperechem. O idee simpla e sa imperechem
fiecare subarbore cu elementul imediat in dreapta lui.
Dar ce vom face cu ultimul subarbore? O idee ar fi sa creem un nou element
artificial care sa fie mai "mare" decat orice alt element. Atunci ar arata cam asa:
```
(k1,v1) (k2, v2) ... (kn,vn) OverLimit
/ / / /
mai mici intre k1 intre kn-1 mai mari
decat k1 si k2 si kn decat kn
```
Exercitiul 3
------------
Definim un tip de date al elementelor (extinse cu `Overlimit`):
> data Element k v
> = Element k (Maybe v)
> | OverLimit
a. Faceti `Element` instanta a clasei de tipuri `Eq`
astfel incat constructorii `Element` sunt egali oricand cheile sunt egale.
b. Faceti `Element` instanta a clasei de tipuri `Ord`
astfel incat compararea constructorilor `Element` sa se reduca la
compararea cheilor, si `OverLimit` sa fie cel mai mare element.
c. Faceti `Element` instanta a clasei de tipuri `Show` astfel incat
`Element k (Just v)` sa fie afisat ca perechea `(k,v)`, iar
`Element k` sa fie `k`, iar `Overlimit` sa fie sirul vid.
Exercitiul 4
------------
Fie urmatorul tip de date care defineste [B-arbori](https://en.wikipedia.org/wiki/B-tree):
> data BTree key value
> = BEmpty
> | BNode [(BTree key value, Element key value)]
Faceti `BTree` instanta a clasei `Collection`. Observatii:
* Cautarea unei chei / a locului unei chei `k`:
- Se cauta in lista de perechi (subarbore,element)
- Pana cand se gaseste un element cu cheia `>= k`
- Daca nu e egala se repeta procesul in subarborele corespunzator
* Inserarea unui nou element
- Se cauta cheia ca mai sus; Daca e gasita inlocuim valoarea
- Daca nu e gasita, este creat un arbore singleton si e _marcat_
- La intoarcere, daca subarborele procesat e _marcat_
+ el va fi de forma `ss-(k, v)-sd` (nod cu un singur element)
+ Se "sparge" perechea curenta `(a,e)` in `(ss, (k,v)) (sd, e)`
+ daca numarul de elemente a ajuns 2*ordin+1 se sparge in doua;
devine de forma `ss-(k,v)-sd` si e _marcat_
|
> -- | Utility function for use with WrapperGen example code
> module Database.HsSqlPpp.Examples.Wrappers.WrapLib where
>
> import Database.HDBC
>
> selectRelation :: (IConnection conn) =>
> conn -> String -> [SqlValue] -> IO [[SqlValue]]
> selectRelation conn query args = do
> sth <- prepare conn query
> _ <- execute sth args
> v <- fetchAllRows' sth
> return v
|
unit uStringObject;
// Ths source is distributed under Apache 2.0
// Copyright (C) 2019-2020 Herbert M Sauro
// Author Contact Information:
// email: [email protected]
interface
uses Classes, uMemoryManager;
type
TStringObject = class (TRhodusObject)
value : string;
function isEqualTo (str1 : TStringObject) : boolean;
class function add (str1, str2 : TStringObject) : TStringObject;
function clone : TStringObject;
constructor createConstantObj (value : string);
function getSize() : integer;
constructor create (value : string);
destructor Destroy; override;
end;
implementation
function createStringObject (value : string) : TStringObject;
begin
result := TStringObject.Create (value);
end;
constructor TStringObject.createConstantObj (value : string);
begin
blockType := btConstant;
self.value := value;
end;
constructor TStringObject.Create (value : string);
begin
blockType := btGarbage;
self.value := value;
memoryList.addNode (self);
end;
destructor TStringObject.Destroy;
begin
value := '';
inherited;
end;
function TStringObject.clone : TStringObject;
begin
result := TStringObject.Create (value);
end;
function TStringObject.getSize() : integer;
begin
result := self.InstanceSize;
result := result + Length (value);
end;
function TStringObject.isEqualTo (str1 : TStringObject) : boolean;
begin
result := self.value = str1.value;
end;
class function TStringObject.add (str1, str2 : TStringObject) : TStringObject;
begin
result := TStringObject.Create (str1.value + str2.value);
end;
end.
|
> module Main where
> import System.Environment
> import Test.Tasty
> import Kreb.Reflect.Test.Suite
> main :: IO ()
> main = do
> setEnv "TASTY_NUM_THREADS" "6"
> setEnv "TASTY_HIDE_SUCCESSES" "TRUE"
> setEnv "TASTY_KREBCHECK_MAX_SIZE" "300"
> setEnv "TASTY_KREBCHECK_TESTS" "1000"
> putStrLn "\n"
>
> defaultMain kreb_reflect_test_suite
|
<?php
namespace AppBundle\Form\Type;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\FileType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\OptionsResolver\OptionsResolver;
/**
* Class FormType
* Create subcategory form.
* @package AppBundle\Form\Type;
*/
class SubcategoryType extends AbstractType
{
/**
* Build the subcategory form.
* @param FormBuilderInterface $builder
* @param array $options
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('name', TextType::class, ['label' => 'Naam:', 'required' => true])
->add('imageName', FileType::class, ['label' => 'Afbeelding:', 'required' => true,'data_class' => null])
->add('frame', EntityType::class, array(
'class' => 'AppBundle\Entity\Frame',
'choice_label' => 'name',
'required' => false,
'label' => 'Onderdelen',
'multiple' => true,
'attr'=>array('class'=>'chosen-select')
))
->add('save', SubmitType::class, ['label' => 'Opslaan']);
}
/**
* Use entity Subcategory
* @param OptionsResolver $resolver
*/
public function configureOptions(OptionsResolver $resolver)
{
$resolver->setDefaults(array(
'data_class' => 'AppBundle\Entity\Subcategory',
));
}
} |
PREFIX ex: <http://example.com/ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
INSERT DATA {
ex:p1 ex:knows2 ex:p2.
}
|
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2016 Cookpad Inc.
package com.cookpad.android.plugin.license
import com.cookpad.android.plugin.license.task.CheckLicenses
import com.cookpad.android.plugin.license.task.GenerateLicenseJson
import com.cookpad.android.plugin.license.task.GenerateLicensePage
import com.cookpad.android.plugin.license.task.GenerateOrchidLicensePage
import com.cookpad.android.plugin.license.task.UpdateLicenses
import org.gradle.api.Plugin
import org.gradle.api.Project
class LicenseToolsPlugin : Plugin<Project> {
override fun apply(project: Project) {
project.extensions.create(
LicenseToolsPluginExtension.NAME,
LicenseToolsPluginExtension::class.java
)
CheckLicenses.register(project)
UpdateLicenses.register(project)
GenerateLicensePage.register(project)
GenerateOrchidLicensePage.register(project)
GenerateLicenseJson.register(project)
}
}
|
/*#########################################################################
#File Name: ls42.sv
#Description: SN74LS42 - 4-Line BCD to 10-Line Decimal Decoder.
#
#Date:
#Programmer: Jonathon McEllin, S00150412
#Version: Rev. 1.00
#
#Notes:
##########################################################################*/
module ls42(_0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _A, _B, _C, _D);
input wire _A, _B, _C, _D;
output wire _0, _1, _2, _3, _4, _5, _6, _7, _8, _9;
wire _A_INV, _B_INV, _C_INV, _D_INV;
wire _A_BUF, _B_BUF, _C_BUF, _D_BUF;
not(_A_INV, _A);
not(_B_INV, _B);
not(_C_INV, _C);
not(_D_INV, _D);
not(_A_BUF, _A_INV);
not(_B_BUF, _B_INV);
not(_C_BUF, _C_INV);
not(_D_BUF, _D_INV);
nand(_0, _D_INV, _C_INV, _B_INV, _A_INV);
nand(_1, _D_INV, _C_INV, _B_INV, _A_BUF);
nand(_2, _D_INV, _C_INV, _B_BUF, _A_INV);
nand(_3, _D_INV, _C_INV, _B_BUF, _A_BUF);
nand(_4, _D_INV, _C_BUF, _B_INV, _A_INV);
nand(_5, _D_INV, _C_BUF, _B_INV, _A_BUF);
nand(_6, _D_INV, _C_BUF, _B_BUF, _A_INV);
nand(_7, _D_INV, _C_BUF, _B_BUF, _A_BUF);
nand(_8, _D_BUF, _C_INV, _B_INV, _A_INV);
nand(_9, _D_BUF, _C_INV, _B_INV, _A_BUF);
endmodule
|
PREFIX ub:<http://swat.cse.lehigh.edu/onto/univ-bench.owl#>
SELECT ?X
WHERE {
?X a ub:ExamRecord .
}
|